[PHP] PHP CURL

2007-11-18 Thread Fahad Pervaiz
I am looking forward to write a script that can send invite to contacts in gmail,hotmail, yahoo and aol. I think it is possible to write it using php CURL. If yes can any one suggest how? and can any one help me write this script or join me to write this script? -- Regards Fahad Pervaiz

Re: [PHP] NAT Traversal

2007-07-05 Thread Fahad Pervaiz
was looking for a way to get the internal ip, somehow > > I don't need to access the client directly but the reason to get his > internal IP is to store session id against client's nat addr+internal > ip > > Hope you get my point > > On 7/5/07, Stut <[EMAIL PROTEC

Re: [PHP] NAT Traversal

2007-07-05 Thread Fahad Pervaiz
the internal ip, somehow I don't need to access the client directly but the reason to get his internal IP is to store session id against client's nat addr+internal ip Hope you get my point On 7/5/07, Stut <[EMAIL PROTECTED]> wrote: Please include the list when replying. Fah

[PHP] NAT Traversal

2007-07-05 Thread Fahad Pervaiz
Hello, I want to get the actual IP of a client behind NAT or a Firewall. Is there anyway to traverse NAT to get the actuall/real IP of the client to check weather its reachable directly or not. OR Is there anyother way to do that. Plz suggest -- Regards Fahad Pervaiz www.ecommerce-xperts.com

[PHP] Re: session question

2007-03-05 Thread Fahad Pervaiz
sername']="some value"; echo $_SESSION['username']; //this will print "some value" So, in your case it is possible that some page is being included that is starting a session or setting up variable. -- Regards Fahad Pervaiz www.ecommerce-xperts.com (Sho

[PHP] Re: upload file

2007-03-04 Thread Fahad Pervaiz
ILES[$name]['type']==$cert1) || ($_FILES[$name]['type']==$cert2) || ($_FILES[$name]['type']==$cert3) || ($_FILES[$name]['type']==$cert4) ) { } else { .. } -- Regards Fahad Pervaiz www.ecommerce-xperts.com (Shopping Cart Applications, Framework for Multi

[PHP] Re: failed to open stream: Resource temporarily unavailable

2007-03-04 Thread Fahad Pervaiz
the log is very big because of a lot of errors of apache. # END ORIGINAL Checkout the following link...it might be helpful to u http://bugs.php.net/bug.php?id=36925&edit=1 -- Regards Fahad Pervaiz www.ecommerce-xperts.com (Shopping Cart Applications, Framework for Multilingual Web Site

[PHP] Re: PHP4 and PHP5

2007-02-26 Thread Fahad Pervaiz
you can run two apache (Diff ports) and with one you can configure php5 and with the other you can configure php4 -- Regards Fahad Pervaiz www.ecommerce-xperts.com (Shopping Cart Applications, Framework for Multilingual Web Sites, Web Designs) -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: OCI8 under WINDOWS

2007-02-26 Thread Fahad Pervaiz
ndows machine Every oci8 should work fine now. If not you can try installing Zend Core for Oracle. -- Regards Fahad Pervaiz www.ecommerce-xperts.com (Shopping Cart Applications, Framework for Multilingual Web Sites, Web Designs) -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Re: input on sessions vs cookies

2007-02-24 Thread Fahad Pervaiz
security use database as well. Store IP, Session ID, username, login time. After every few minutes you can re authenticate the user against these parameters. -- Regards Fahad Pervaiz www.ecommerce-xperts.com (Shopping Cart Applications, Framework for Multilingual Web Sites, Web Designs)

[PHP] Re: How to call image from mySql to php file

2007-02-23 Thread Fahad Pervaiz
se and when you retrieve the image, you retrieve it via proxy file e.g. image.php the image.php outputs the image using header you can make call to it from you abc.html as follows -- Regards Fahad Pervaiz www.ecommerce-xperts.com (Shopping Carts, Framwork for Multilingual Web Sites, Web Designs)

[PHP] Re: Magic Quotes

2007-02-23 Thread Fahad Pervaiz
27;\' then use stripslashes() If your want to turn off automatic escaping then turn off these directive magic_quotes_gpc magic_quotes_runtime magic_quotes_sybase -- Regards Fahad Pervaiz www.ecommerce-xperts.com (Shopping Cart, Framework for Multilingual Web Sites and Web Designs)

[PHP] Re: Parsing an XML return from a POST

2007-01-08 Thread Fahad Pervaiz
appreciate any help I can get. Thanks in advance. ===END ORIGINAL=== You can easily parse XML using "XML Parser Functions" or "DOM Functions" available in PHP Lots of classes have been written to parse xml using the above libraries.Youcan easily search them on google. -- R

[PHP] Re: Problem with file reading

2007-01-05 Thread Fahad Pervaiz
er on the subfolder "test_folder". Help would be greatly appreaciated Thanks in advance! ===END ORIGINAL=== Try using the complete path in $file... you can get the complete path by using $_SERVER['DOCUMENT_ROOT'] Also be sure that path given in $file variable is relatvie to loca

[PHP] Re: Calling static child method from inherited static parent method

2007-01-03 Thread Fahad Pervaiz
ildClass; echo $obj->xxx(); -- Regards Fahad Pervaiz www.ecommerce-xperts.com (Shopping Cart, Web Design, SEO)

[PHP] Re: http request problem

2007-01-02 Thread Fahad Pervaiz
.335458&endX=103.886297&endY=1.334953&routeType=1&format=2 "; $handle2= fopen($link,"r"); $contents = ''; while (!feof($handle2)) { $contents = fread($handle, 819200); echo $contents; } I tried opening the given URL directly, but this

[PHP] Re: php-general Digest 1 Jan 2007 20:15:42 -0000 Issue 4545

2007-01-01 Thread Fahad Pervaiz
into chunks as small as 64 bytes. I am at a loss as to what is happening, so I would appreciate any help. Sincerely, Philip W. This article might help you out http://www.onlamp.com/pub/a/php/2002/12/12/php_foundations.html -- Regards Fahad Pervaiz www.ecommerce-xperts.com

[PHP] Re: Basic question - Starting a background task without waiting for its end.

2006-12-31 Thread Fahad Pervaiz
support otherwise you could have run exec() in a seperate thread. Anyways! i think there is a work around for your problem! Create a seperate shell file, lets say abc.sh abc.sh run following command "bash -c cmd /C start /MAX notepad "my_file" > NULL" and exits you php file calls exec("abc.sh"); -- Regards Fahad Pervaiz www.ecommerce-xperts.com

[PHP] Re: php/ajax question

2006-12-30 Thread Fahad Pervaiz
ndReq(action) { http.open('get', 'a.php'); http.send(null); } Then the $_SESSION var is filled with "test", but the redirect is not realized. Why can't the php script redirect the browser when called via ajax ? Thanks. tedd -- Regards Fahad Pervaiz www.ecommerce-xperts.com

[PHP] Downloading utf-8 encoded files

2006-12-26 Thread Fahad Pervaiz
loads incomplete file, means some of the information is skipped and file size is also small. Help would be appriciated -- Regards Fahad Pervaiz www.ecommerce-xperts.com

[PHP] Re: How to Separate PHP Errors to a file different than Apache Errors

2006-12-23 Thread Fahad Pervaiz
is located in php.inifile. -- Fahad Pervaiz www.ecommerce-xperts.com

[PHP] Re: Video Question

2006-12-20 Thread Fahad Pervaiz
, that is a Flash Video file. You can automatically convert all video formats to FLV using FFMPEG Library. Use any freely available FLV player or you can develop your own. For ffmpeg visit *http://ffmpeg.mplayerhq.hu/* <http://ffmpeg.mplayerhq.hu/> -- Fahad Pervaiz www.ecommerce-xperts.com 92 3

[PHP] Re: ECHO

2006-12-19 Thread Fahad Pervaiz
ler.org/doc/tutorial2.html Satyam - Original Message - From: "Fahad Pervaiz" <[EMAIL PROTECTED]> To: Sent: Tuesday, December 19, 2006 6:46 AM Subject: [PHP] Re: ECHO >I have written a framework for internationalization. Now i have >incoorperate > it into and ex

[PHP] Re: ECHO

2006-12-18 Thread Fahad Pervaiz
r maybe you could change the standard output? On 12/18/06, Fahad Pervaiz <[EMAIL PROTECTED]> wrote: > I have written a framework for internationalization. Now i have incoorperate > it into and existing system that is huge and it will take alot of time to > change ECHO to a function call,

[PHP] Re: ECHO

2006-12-18 Thread Fahad Pervaiz
echo calls -- Regards Fahad Pervaiz www.ecommerce-xperts.com

[PHP] ECHO

2006-12-18 Thread Fahad Pervaiz
ECHO is a language construct but still is there any work around to override it or change its functionality???