[PHP] URL Headers - Retrieval

2001-11-13 Thread HEW Staff
I currently have a script which gathers information from a site, adds a new variable and then resubmits it as a post back to the originating script. I need to gather the header information from the final response to categorise the errors received. At the moment the error I get is not consistant

[PHP] Random Row From Database

2001-11-10 Thread HEW Staff
Hi, I'm trying to pull a random row from my database and display the contents. I know that the code: SELECT * FROM TABLENAME WHERE RAND() LIMIT 1 should work. However, there are 19 rows in the database and only the first row ever shows up. Is there a way to do this to ensure uniqueness? The

[PHP] Deleting Array elements

2001-11-02 Thread HEW Staff
I'm looking for some code that will enable me to remove a line from a file. I have .htaccess which is being filled by a subscription processor, I need to know how to remove a user from this file once the subscription has either been cancelled or subscription term complete. Any help appreciated.