[PHP] Re: Found the Answer!

2004-01-26 Thread Jonathan Hilgeman
Oops. Hit the post shortcut accidentally. Here's the post that led me to the answer: - orion at dr-alliance dot com 08-Aug-2003 03:52 Session ID's wont be carried over through meta refreshes, so make sure you add the variables (in GET format) to the URL. IE ) - It turns out that the Javas

[PHP] Found the Answer!

2004-01-26 Thread Jonathan Hilgeman
I found the answer (I'm 90% sure, at least) !!! Thanks to this very small user comment: "Jonathan Hilgeman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm running into some weird trouble here. I'm a very experienced PHP > programmer, but

Re: [PHP] Challenge: Sessions & Frames

2004-01-25 Thread Jonathan Hilgeman
I understand your point, but I'm not sure that you understood mine. (see below) "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > --- Jonathan Hilgeman <[EMAIL PROTECTED]> wrote: > Regardless of what you mean by that, it should be c

[PHP] Challenge: Sessions & Frames

2004-01-25 Thread Jonathan Hilgeman
I'm running into some weird trouble here. I'm a very experienced PHP programmer, but I rarely ever deal with framed sites. A client wants a framed PHP site that needs session data passed between the frames. I have index.php which is simply the parent with frameset HTML code that tells the URL for

[PHP] Symbolic Links, Includes, and Relative Paths

2002-03-08 Thread Jonathan Hilgeman
I'm on a red hat system, and I've soft-linked two directories: /www/dir1/subdir /www/dir2/subdir --> /www/dir1/subdir Now, inside subdir is a file that tries to include("../info.php"); which prints out some information about the file paths and my database stuff. So there's: /www/dir1/info.php /ww

[PHP] Re: Sending Generic TCP/IP Data

2002-01-03 Thread Jonathan Hilgeman
D]... > use fsockopen to open a socket on the host and call it $f then > fwrite($f,$data)?? would that work? > > LJ > > "Jonathan Hilgeman" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I have a host and a

[PHP] Sending Generic TCP/IP Data

2002-01-03 Thread Jonathan Hilgeman
I have a host and a port and I BELIEVE that the protocol is HTTPS but I'm not sure. In the event that it's not using HTTPS protocol - how would I go about sending just TCP/IP packets through a socket to the host, since cURL only supports certain protocols? - Jonathan -- PHP General Mailin

[PHP] Code not working in 4.1

2002-01-02 Thread Jonathan Hilgeman
I used to run PHP 4.0.3 and at the beginning of some functions that used a lot of global variables, I would add the following lines so I could access all the global variables inside the functions. foreach($GLOBALS as $GlobalVarName => $GlobalVarValue) { global $$GlobalVarName; } I upgraded

[PHP] cURL Reporting to Apache Error Log

2001-10-18 Thread Jonathan Hilgeman
The title says it all. Any secure transactions I send through cURL get logged in Apache's standard log file. How can I keep this from happening? - Jonathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

[PHP] Sockets

2001-09-19 Thread Jonathan Hilgeman
I run a web application that opens a socket using cURL and sends data to a payment gateway and then receives confirmations, etc... Sometimes, a visitor clicks multiple times and I have the program check to see if a transaction is already in process, and if so, it redirects them to a page where the

[PHP] Re: Line number of error

2001-09-06 Thread Jonathan Hilgeman
Nevermind - found the answer. The current line number is held in the constant __LINE__ and the current file name is held in the constant __FILE__ So I can do the following: print "this is line " . __LINE__ . " in the file " . __FILE__; - Jonathan "Jonathan Hilgeman&q

[PHP] Line number of error

2001-09-06 Thread Jonathan Hilgeman
Is there any way to print the current line number? i.e. 43 print "blah"; 44 print "this is line $LineNumber"; 45 print "etc"; and have it result in : blahthis is line 44etc ? - Jonathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

[PHP] Now Here's a Winner

2001-09-05 Thread Jonathan Hilgeman
Okay, this has gone over my head. I am running Apache 1.3.19, with PHP 4.0.5 and mySQL 3.23.37. The Apache/PHP server is on a Windows development box, and the mySQL is on a remote box. The basic function of the script is to first present a form where a user can select records that match a date, an

[PHP] iODBC Troubles

2001-08-28 Thread Jonathan Hilgeman
I first tried unixODBC in order to get ODBC functionality on my FreeBSD 4.2 box with PHP 4.0.3 on Apache 1.3.14. It didn't work too well, and I kept getting an error about undefined symbols like pthread_mutex_init or something when trying to run command-line sample applications. So someone suggest

[PHP] Re: Zend Optimizer

2001-08-16 Thread Jonathan Hilgeman
Zend Optimizer will speed up the code, but I do not believe it crunches the size of files. If you need smaller files for a graph, use PNG or JPEG - not the GIF format. The GIF format is old and unoptimized in PHP/GD, so it gets really big in size unless you have something like ImageMagick to optim

[PHP] Re: MYSQL_SOCKET

2001-08-15 Thread Jonathan Hilgeman
Edit your /etc/my.cnf file and search for the word socket. - Jonathan "Jay Paulson" <[EMAIL PROTECTED]> wrote in message 020f01c125d6$ce5b17f0$6e00a8c0@webdesign">news:020f01c125d6$ce5b17f0$6e00a8c0@webdesign... the variable MYSQL_SOCKET is set to /tmp/mysql.sock and i need it to be /var/lib/mys