First  |  Prev |  Next  |  Last
Pages: 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Questions about $_SERVER
Hi gang: The server global: $_SERVER['SERVER_ADDR'] Provides the IP of the server where the current script is executing. And, the server global: $_SERVER['REMOTE_ADDR'] Provides the IP of the server executing the script. As such, you can enter the IP of either into a browser and see that ... 19 Sep 2010 18:39
displaying constants
Hi all, could someone show me how to echo back a constant to check if they are assigned correctly? Something like this: define('SITE_ROOT', dirname(dirname(__FILE__))); echo 'SITE_ROOT'; I tried the echo but it wasn't working. -- Blessings, David M. ... 19 Sep 2010 18:39
Surge 2010 Early Registration ends Tuesday!
Early Bird Registration for Surge Scalability Conference 2010 ends next Tuesday, August 31. We have a killer lineup of speakers and architects from across the Internet. Listen to experts talk about the newest methods and technologies for scaling your Web presence. http://omniti.com/surge/2010/register This y... 19 Sep 2010 18:39
Making multiple RSS feeds for the blog website
Hi everyone, We are developing a blog service website. What we need now is the ability to make multiple RSS feeds from several pages (an RSS of each user's blog, a feed from each timeline - timelines are our representation of users' favorites; a feed filled with comments to a separate entry, etc.). What would be g... 19 Sep 2010 18:39
pecl/oauth - possible to send HTTP request myself?
The typical way to use pecl/oauth seems to use OAuth::fetch which does everything including sending the HTTP request using curl or php streams. I'd like to be able to use pecl/oauth to do everything up to and including calculating the signature but then send the request using different code. The reason for this is t... 19 Sep 2010 18:39
Upload using FTP commands
Hi, I want to give my client the ability to upload large files ( around 20MB ) to a webspace. I reckon that using the FTP commands of PHP would be the best bet, but is it possible to allow them to do this through an online form. This is my vision: the client logs in to a form that has an upload button... 19 Sep 2010 18:39
Does array_splice() fit for case ?
Hello, This is kinda a noob question, but that's what i am :) I have a 2 dimensions array (the first dimension are "normal" keys ) and in the second dimension haves custom arrays but they all have a comon key that is *id. *The array comes ascending ordered by the numbers of *id* . When i receive this array ... 19 Sep 2010 18:39
Variable in variable.
I know that in PHP I can use this: $var1 = "text"; $var2 = '$var1'; 4cho $$var2; So it gives me "text". My question is, is there a way of doing it with constant like this? define("CONST", "text"); $test = "CONST"; echo $$test; So it gives me "text". Thanks in advance. -- Jo�o C�ndido de Souza N... 19 Sep 2010 18:39
XML with PHP
Hi I am trying to read XML files (invoices) from a directory and display them to the visitor. Each XML file contains several invoices. The visitor then clicks on the XML file (invoices). My PHP snippet should open the xml file and locate the appropriate invoice and display the content. I have managed to list ... 19 Sep 2010 18:39
XML with PHP
Hi I am trying to read XML files (invoices) from a directory and display them to the visitor. Each XML file contains several invoices. The visitor then clicks on the XML file (invoices). My PHP snippet should open the xml file and locate the appropriate invoice and display the content. I have managed to l... 19 Sep 2010 18:39
First  |  Prev |  Next  |  Last
Pages: 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24