[PHP] Re: Referer Question

2001-12-05 Thread Hidulf
you can call the predefined variable in PHP $HTTP_REFERER will return the address of the previous page. $REQUEST_URI will return the URI of current page. is those something you need? -- Hidulf http://www.hidulf.com "George E. Papadakis" <[EMAIL PROTECTED]> wrote in mess

[PHP] Re: stripslashes

2001-10-04 Thread Hidulf
if you just want to add slashes to the data, use addslashes if you want to get away the alashes from the data, use it in the print or echo function. -- Hidulf http://www.hidulf.com "Caleb Carvalho" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTEC

[PHP] Re: still problem with getting HIGHest and LOWest VALUES

2001-09-30 Thread Hidulf
try this $x = mysql_query("SELECT * FROM $dealer_tabela ORDER BY cena"); $row = mysql_fetch_array($x); natsort($row); print 'id - price\n'; while (list ($key, $val) = each ($row)) { print $key .' - ' .$val .'\n'; } -- Hidulf http://www.hidulf.com &

[PHP] Re: how to execute a php script thru a cron job

2001-09-06 Thread Hidulf
php script.php will able to run the php script in command line -- Hidulf http://www.hidulf.com "Carry Ian" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > hello, > > can anybody suggest me how to execute a php file thru a cron job? > i have a php scr

[PHP] Re: variable $PATH_INFO

2001-08-14 Thread Hidulf
$PATH_INFO is server variable, that appear on IIS but not apache. maybe you can try $REQUEST_URI, that return URL with query string there. or you can check all the server variable with phpinfo(). you can put this into the web server and run it on your browser. -- Hidulf http://www.hidulf.com

[PHP] Re: Best way to take a copy of a Database from Server to server

2001-08-07 Thread Hidulf
easy, go inside each table, there will be the structure dump function available. that will allow you to take the data for that table only. this may give you a smaller size of data. -- Hidulf http://www.hidulf.com "Elias" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECT

[PHP] Re: Host OnLine ?

2001-08-06 Thread Hidulf
which web server are you using? if you are using apache as the web server, i think you can try the function apache_lookup_uri(). this function will return status of the request. or you can use fsockopen() that allow you to make connection to internet connection. -- Hidulf http://www.hidulf.com