Do you have go-pear.bat anywhere on your PC? _____ From: php-objects@yahoogroups.com [mailto:php-objects@yahoogroups.com] On Behalf Of Abdul Shahid Khattak ...
Hi Friends, We are integrating paypal pro with our site. We now have the amount in the paypal account. Some amount has to be transferred to another paypal ...
Hi, Just download the pear package which you want from www.pear.php.net and copy the extracted files to your include path. For eg. if you want to use ...
I use this function everytime im going to save any data in a sql sentence: function q($s,$string=false) { $s = mysql_real_escape_string($s); # Adds quotes if...
Dear Dr. Biyi Thanks for giving your valuable time. As passward protected directory is OK for individual user. I want IP authentication program in my html web...
Hello, This is just a reminder to let you know that the following polls are going on the php-objects mailing list that you are a subscriber. Please do not...
php-objects@yahoogrou...
Jun 4, 2006 11:51 pm
3951
Hello, This is just a reminder messages to let you know as subscriber of the php-objects mailing list you may be interested about the new site where you may...
php-objects@yahoogrou...
Jun 4, 2006 11:51 pm
3952
Hi, Im trying to get the $sql variable value from hello() in a() function hello() { $sql = 'select * from table'; } class ABC { function a() { // How can I...
Do you mean this? function hello() { $sql = 'select * from table'; return($sql); // return the variable to make it available outside the function } class ABC {...
Jeff Bennett
JBennett@...
Jun 5, 2006 2:02 am
3954
Hi All, I have made a few webpages in HTML and now I was trying to convert them into PHP pages but for some reason it will give me the error that the page...
Jeje.. no. Thats obvius. The problem is hello() doesnt quite return ANYTHING (i cannot modify that function because its already linked with dozens of other...
... only if: function hello() { global $sql; $sql = 'select * from table'; } or function hello() { global $MySpecialSQLInstructionForAnyStrangePurpose; $sql =...
Hello. This is possible when the hello() function returns $sql, like this: function hello() { $sql = 'select * from table'; return $sql; } This code makes the...
Hi. I have a /download directory for my website. I dont want the files to get downloaded just by typing http://www.foo.com/download/some_file.doc because its...
put the following in an .htaccess file in the download directory: RewriteEngine on RewriteRule ^(.*)$ /get.php?file=download/$1 And then something like this in...
Jeff Bennett
JBennett@...
Jun 5, 2006 11:59 pm
3962
Thanks Jeff, all i was looking for was the RewriteEngine on RewriteRule ^(.*)$ /get.php?file=download/$1 which i mutated to RewriteEngine on RewriteRule...
I'm pretty sure you'll want to keep the $1 part of the rewrite rule, that's what is going to send the querystring to the new request for index.php. Are you...
Jeff Bennett
JBennett@...
Jun 6, 2006 1:05 am
3964
hi jeff, the thing is, i dont want the download to be accesible from: www.foo.com/downloads/file.zip I should only be available from: ...
Ah I think I see what you are trying to do by removing the $1. You are tying to trap any direct access to the downloads directory? My example turns...
Jeff Bennett
JBennett@...
Jun 6, 2006 1:48 am
3966
... a very easy way is put that dir, out of rootdir for website... if you are in /some_path/web for website files, you can create: /some_path/download for your...
Jose, actually i thought about that option, but im working on a restricted hosting plan and i cant access any other directory other than the webroot hehe ... ...
Hello Friends Can we upload a video file of 100 MB using PHP on linux server? What coud be the consequences of uploading such a big file? Or do i need to use...
How do I do this? I have minutes: $minutes_online = intval((time() - strtotime($data[$i]['dLastLogon']))/60); Ex: $minutes_online = 8758; How do I show this in...
It's quite simple. If you have only the minutes online you won't be able to point out the seconds, only hours and minutes. Said so, all you have to do is those...
... Maybe if you has acccess to config files, you can change it to accept those files... Then you must check if your browser can handle this files... But http...
jose suggestion is good. put out of the public_html then read from it when supplying an id. actually you do not need the file name hash. if you are working...