Posts by Eitch • 134 points
6 posts
-
2
votes1
answer1127
viewsA: How to read a URL contents . txt
To read the content directly from a URL using native PHP functions, first you need to make sure two things: The option allow_url_fopen is enabled in PHP Your server can exit and grab this URL (e.g.:…
-
1
votes2
answers69
viewsA: Script does not show the entire path
When you call the following line of the script: path=$(readlink -f $4) You’re using the $4 argument. Although you did not put a call example for this script, I believe the $4 argument is the name of…
-
2
votes1
answer2592
viewsA: How to integrate post from one site to others in Wordpress Multisite?
There are some ways to do it that you’re looking for. The simplest way (which serves many cases) is to use the RSS mechanism to replicate from one site to another. For example, you want to "export"…
-
1
votes1
answer122
viewsA: User agent detection for redirect
A good way to start solving your problem is by identifying where PHP is registering the User-Agent variable. User-Agent is an HTTP header and is sent to every request. Start by making a PHP page…
-
2
votes1
answer41
viewsA: Storing a request in a saved server resource variable?
Without a doubt you will reduce the calls to the bank and to Theloop objects using a variable, and there will be savings in server processing/resource. Although this economy is small, any economy is…
-
3
votes2
answers1347
viewsA: How to create a fixed link in wordpress?
From the link you have placed, it seems that the.php contact is like a relative link. This means that the browser will search the page depending on the current path you are browsing. Example, if you…