Re: [PHP] imageJPEG problem.

2001-09-24 Thread Stefan Rusterholz
- Original Message - From: "Johan Vikerskog (EMP)" <[EMAIL PROTECTED]> To: "'Stefan Rusterholz'" <[EMAIL PROTECTED]>; "Johan Vikerskog (EMP)" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 9:07 AM Subject: RE: [PHP] imageJPEG problem. > Thanks for your answer

[PHP] Re: Receiving mySQL result from remote server?

2001-09-24 Thread _lallous
Yes you can. It depends if you have a user name and password and access to access abc.com's MySql server, remember you do this: see? try http://freesql.org (it is a free mysql database provider!;)) "Jeff Lewis" <[EMAIL PROTECTED]> wrote in message 010301c14508$864c8060$[EMAIL PROTECTED]">news:0

[PHP] imageJPEG problem.

2001-09-24 Thread Johan Vikerskog (EMP)
When trying to use a simple code like this below i receive an error which says that it cant find the header. It outputs the information in ascii and binary code. it doesn't show the picture Thanks for all the help you can give me. //Johan -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] select based on time/date

2001-09-24 Thread David Robley
On Tue, 25 Sep 2001 13:38, Maxim Maletsky \(PHPBeginner.com\) wrote: > Don't do it with PHP. Instead use the native functions of mySQL itself. > > Use the combination of CONCAT(), some string and date functions of > mySQL. > Something like CONCAT(SUBSTRING(), SUBSTRING(), ...) so you end up in > t

Re: [PHP] A simple PHP form not working

2001-09-24 Thread David Robley
On Tue, 25 Sep 2001 12:56, Tshering Norbu wrote: > Hi list, > I can not get the form (from thesitewizard) working. When I submit the > form, I get this error: "Warning: Failed to Connect in c:\Program > Files\Apache Group\Apache\htdocs/druknet/feedback/feedbacksend.php on > line 2." My PHP conf w

Re: [PHP] passing hidden values through form

2001-09-24 Thread Richard Baskett
You need to echo it :) Rick > Hi, > > I was wondering is it possible to pass the values of PHP variables in a > form. I have been trying, but without success. > > First I call the function to generate a password and store that value in > a variable called $genpassword : > > > $genpassword

[PHP] passing hidden values through form

2001-09-24 Thread Peter
Hi, I was wondering is it possible to pass the values of PHP variables in a form. I have been trying, but without success. First I call the function to generate a password and store that value in a variable called $genpassword : Password: For some reason the value inside $genpa

[PHP] Re: [PHP-DB] sessions in PHP

2001-09-24 Thread Andrey Hristov
Look @ http://www.phpbuilder.com There is/are article(s) about sessions.   Andrey Hristov - Original Message - From: "nirat" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 8:46 AM Subject: [PHP-DB] sessions in PHP > can anyone guide me to using session

RE: [PHP] A simple PHP form not working

2001-09-24 Thread Lawrence . Sheed
You have a blank line before your mailto:[EMAIL PROTECTED]] Sent: September 25, 2001 12:59 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] A simple PHP form not working I did try that before too and here is what I got/get : Warning: Failed to Connect in c:\Program Files\Apache Group\Apache\htdocs/d

Re: [PHP] A simple PHP form not working

2001-09-24 Thread Tshering Norbu
I did try that before too and here is what I got/get : Warning: Failed to Connect in c:\Program Files\Apache Group\Apache\htdocs/druknet/feedback/feedbacksend.php on line 2 Warning: Cannot add header information - headers already sent by (output started at c:\Program Files\Apache Group\Apache\ht

Re: [PHP] A simple PHP form not working

2001-09-24 Thread Jason G.
First of all, you need to type header("Location: thankyou.html"); exit; Try that... -Jason Garber deltacron.com At 09:26 AM 9/25/2001 +0600, Tshering Norbu wrote: >Hi list, >I can not get the form (from thesitewizard) working. When I submit the form, >I get this error: "Warning: Failed to Con

RE: [PHP] select based on time/date

2001-09-24 Thread Maxim Maletsky \(PHPBeginner.com\)
Don't do it with PHP. Instead use the native functions of mySQL itself. Use the combination of CONCAT(), some string and date functions of mySQL. Something like CONCAT(SUBSTRING(), SUBSTRING(), ...) so you end up in the right time format i.e.: -00-00. With that string you should be able to do

[PHP] select based on time/date

2001-09-24 Thread Jason Dulberg
I am using sessions on my site and have noticed that people often don't click the "logout" button -- something which I need them to do in order to clear their session from the db and update some site stats. In the sessions table, I have a field $timein (in format F j, Y, g:i a) that gets added whe

[PHP] Re: help with Mysql Query...

2001-09-24 Thread mydata
Don't use subselect in MySQL, MYSQL have not completed it now , Use "join" to instead it. "Christian Dechery" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm having trouble puting up a query in Mysql because of his lack of SQL > syntax. > > I have a table A

[PHP] A simple PHP form not working

2001-09-24 Thread Tshering Norbu
Hi list, I can not get the form (from thesitewizard) working. When I submit the form, I get this error: "Warning: Failed to Connect in c:\Program Files\Apache Group\Apache\htdocs/druknet/feedback/feedbacksend.php on line 2." My PHP conf with Apache has no problem. What am I doing wrong? Sorry, I

[PHP] session_set_save_handler question

2001-09-24 Thread Bob Bowker
Hi -- No luck finding an answer to this ... can class methods be registered as the user functions with session_set_save_handler() -- or do I have to create a wrapper outside the class to call the class functions? Using 4.0.3pl1 ... Thanks -- Bob. -- PHP General Mailing List (http://www.p

[PHP] how to make the php page always newest when clicking 'back' botton in browser?

2001-09-24 Thread mydata
Hi,I meet a problem when I am developing. I am developing php base on other programer's php code . I must make the php page always newest when clicking 'back' botton in browser(because that programer using javascript: history.go(-1)), I try sent header() to disable cach,but seems to not works: my

Re: [PHP] help with Mysql Query...

2001-09-24 Thread Steve Werby
"Christian Dechery" <[EMAIL PROTECTED]> wrote: > I have a table A and a table B... I want all occurences from A there are > not in B... > > in ANSI SQL... it's nothing more than: > > select a.id, a.name from table_a a, table_b b where a.id NOT IN (select id > from table_b) > > and that's it... but

[PHP] help with Mysql Query...

2001-09-24 Thread Christian Dechery
I'm having trouble puting up a query in Mysql because of his lack of SQL syntax. I have a table A and a table B... I want all occurences from A there are not in B... in ANSI SQL... it's nothing more than: select a.id, a.name from table_a a, table_b b where a.id NOT IN (select id from table_b

RE: [PHP] Mysql check

2001-09-24 Thread Lawrence . Sheed
Another thing to check Are your table(s) corrupted? >From the MYSQL Manual Typial typical symptoms for a corrupt table is: You get the error Incorrect key file for table: '...'. Try to repair it while selecting data from the table. Queries doesn't find rows in the table or returns incomplete

Re: [PHP] Receiving mySQL result from remote server?

2001-09-24 Thread David Robley
On Tue, 25 Sep 2001 00:42, Jeff Lewis wrote: > I am assuming that all I need to change is the host/domain so that > instead of localhost it would be something else. Am I assuming right? > So I could have www.abc.com or the IP? > > Jeff The grant tables on the mysql server must have permissions

Re: [PHP] Mysql check

2001-09-24 Thread David Robley
On Tue, 25 Sep 2001 02:38, Michael George wrote: > I think I've discovered a problem with MySQL, but I wanted to check > here to see if perhaps there's something I'm doing wrong. > > I have the following table: > > mysql> show columns from IncomingInvoice; > +-

[PHP] Problem with regex

2001-09-24 Thread Oliver Ertl
Hi, I need a regex for a username validation. The ereg function should be used. o the username must start and end with a-z o in the middle it could be a-z0-9\.-_ o and never something like this -- -. _- and so on Thanks for your help Oliver = mailto: [EMAIL PROTECTED] www.ertl.co.za

Re: [PHP] Individual Lines of TEXT

2001-09-24 Thread David Robley
On Tue, 25 Sep 2001 09:49, Devon wrote: > I am pulling down data from a switch which looks like > > Port 1, 33889029532 > Port 2, 0 > Port 3, 135852 > Port 4, 6652941243 > etc etc > > I need to know if it is possible with PHP to write a script that will > pull the individual lines of this text fil

[PHP] I'm back

2001-09-24 Thread Maxim Maletsky \(PHPBeginner.com\)
Hello everyone who once knew me! I am announcing you my return to the greatest list! I've been traveling for a few month around the world and am now settled down back in my home town Rome, Italy. I've quit my carrier in Tokyo and, I will now freelance here for a while until I find something inter

[PHP] Individual Lines of TEXT

2001-09-24 Thread Devon
I am pulling down data from a switch which looks like Port 1, 33889029532 Port 2, 0 Port 3, 135852 Port 4, 6652941243 etc etc I need to know if it is possible with PHP to write a script that will pull the individual lines of this text file and store them into a mysql database line by line. Chee

[PHP] re: Zend Cache & cache_gui

2001-09-24 Thread Joseph Blythe
Hello all, I just installed Zend LaunchPad (PHP 4.0.4pl1) with Zend Cache v1.1.0 all seems ok when I run phpinfo() This program makes use of the Zend scripting language engine: Zend Engine v1.0.4, Copyright (c) 1998-2000 Zend Technologies with Zend Optimizer v1.0.0, Copyright (c) 1998-2000,

[PHP] Re: Windows question

2001-09-24 Thread Gaylen Fraley
http://www.php.net/manual/en/ref.exec.php -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v1.2 Guestbook http://www.gaylenandmargie.com/publicscripts "Clint Tredway" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Can PHP kick off an exe o

[PHP] Re: Javascript document variable names for complex forms

2001-09-24 Thread Gaylen Fraley
Try var myvar = opener.parent.top.document.form.var.value -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v1.2 Guestbook http://www.gaylenandmargie.com/publicscripts "M" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello people. > > F

[PHP] Javascript document variable names for complex forms

2001-09-24 Thread M
Hello people. First , let me thanks all of you who answered my mime-mail question (special Richard Lynch). Next question (probably not for proper list, but I couldn't get answer, so please sorry me). I have http frame page (classical 'top', 'left' and 'center' frames), then 'center' frame open

Re: [PHP] Querying an object's functions

2001-09-24 Thread Steve Cayford
Thanks. Sorry for missing that. -Steve On Monday, September 24, 2001, at 05:54 PM, Rasmus Lerdorf wrote: > http://www.php.net/manual/en/function.get-class-methods.php > > On Mon, 24 Sep 2001, Steve Cayford wrote: > >> Is there any way in PHP 4.0.6 to query an object for its member >> functions

Re: [PHP] Querying an object's functions

2001-09-24 Thread Rasmus Lerdorf
http://www.php.net/manual/en/function.get-class-methods.php On Mon, 24 Sep 2001, Steve Cayford wrote: > Is there any way in PHP 4.0.6 to query an object for its member > functions? For example I have a couple classes that have an htmlString() > function to display themselves in some special way

[PHP] Querying an object's functions

2001-09-24 Thread Steve Cayford
Is there any way in PHP 4.0.6 to query an object for its member functions? For example I have a couple classes that have an htmlString() function to display themselves in some special way as html. I'd like to go through a list of various objects, find out if each can run htmlString() and if so

Re: [PHP] what does this mean?

2001-09-24 Thread recognize
As far as I know, you've defined $errorMsg previously as an variable, not as an array. If you'll not use anymore the previously defined $errorMsg just unset the variable using "unset($errorMsg)" before the attribution. I hope this solves your problem, it solved a lot of similar errors to me!

Re: [PHP] PHP isn't reading the php.ini

2001-09-24 Thread Julio Nobrega Trabalhando
Sometimes I have to add the 'extensions' word: extension=extensions/php_mssql.dll -- Julio Nobrega A hora está chegando: http://toca.sourceforge.net "Mark Roedel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > -Original Message- > From: Brandon Or

Re: [PHP] ecTemplate

2001-09-24 Thread Jeroen Olthof
I can't really anwser that question since I have never used that template system, I have writen this one to meet my exact needs and it is turned out to work really good. If you got any experience with the PHPLIB's template system, I really curious what you would think of it so I can get deserving

Re: [PHP] ecTemplate

2001-09-24 Thread Joao Prado Maia
On Mon, 24 Sep 2001, Jeroen Olthof wrote: > look here for a live excample > http://www.millipede.nl/ectemplate > And how is ecTemplate different from PHPLIB's Template system ? It looks like the same thing to me.. Joao -- João Prado Maia <[EMAIL PROTECTED]> http://phpbrasil.com - php com um j

[PHP] display_errors=on with sessions

2001-09-24 Thread Michael Champagne
We've noticed that turning display_errors=on hoses up our setup so bad that the apache child process seg faults and occasionally PHP spits what looks like garbage in memory out all over the screen and often into the URL if we're doing a header redirect. Has anyone else seen this? We use sessions

[PHP] ecTemplate

2001-09-24 Thread Jeroen Olthof
hi, I would like te announce a really good html template parser class. How it works. Normally your HTML and PHP codes are mixed and therefor you are not able to use tools like dreamweaver anymore. Well with ecTemplate you can define to types of tags that you can put inside your html file. for ex

RE: [PHP] PHP isn't reading the php.ini

2001-09-24 Thread Mark Roedel
> -Original Message- > From: Brandon Orther [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 24, 2001 1:50 PM > To: PHP User Group > Subject: [PHP] PHP isn't reading the php.ini > > > When I uncomment the line for php_mssql.dll it doesn't seem > to do anything. It just says call t

RE: [PHP] PHP parser BUG - comments

2001-09-24 Thread Mark Roedel
> -Original Message- > From: Krzysztof Kocjan [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 24, 2001 9:32 AM > To: [EMAIL PROTECTED] > Subject: [PHP] PHP parser BUG - comments > > > I'm using PHP/4.0.6. I suppose I found bug in PHP parser. There is PHP > code: > > print( 'test'

Re: [PHP] CURL

2001-09-24 Thread Sterling Hughes
On Mon, 24 Sep 2001, Daniel Demacek wrote: > Hi, all > > anyone know how to get this to work? > > > # this is suppose to do same thing as fpassthru(); > # but using SSL > > > header("Content-Type: application/octet-stream"); > header("Content-Disposition: attachment; filename=" . $f); > > $ch =

Re: [PHP] GPL and The PHP License

2001-09-24 Thread Sterling Hughes
On Mon, 24 Sep 2001, Fábio Migliorini wrote: > > The php was distributed under gpl in the version 3 now it´s distribued > under "the php license" that is based on qpl (qt public license)... so... > > 1) Is "the php license" incopatible with gpl? yep. > 2) Can I write a program in php an

RE: [PHP] what does this mean?

2001-09-24 Thread Mark Roedel
> -Original Message- > From: Jay Paulson [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 24, 2001 3:09 PM > To: [EMAIL PROTECTED] > Subject: [PHP] what does this mean? > > > Warning: Cannot use a scalar value as an array > what does that mean? > > i have in my code this: > $errorM

[PHP] Re: GPL and The PHP License

2001-09-24 Thread J Smith
Fábio migliorini wrote: > > The php was distributed under gpl in the version 3 now it´s distribued > under "the php license" that is based on qpl (qt public license)... so... > > 1) Is "the php license" incopatible with gpl? > 2) Can I write a program in php and to distribute it under the g

[PHP] CURL

2001-09-24 Thread Daniel Demacek
Hi, all anyone know how to get this to work? I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

[PHP] Weak quality functions to resize pictures?

2001-09-24 Thread Tomasz Rusc
I installed PHP 4.0.6 to test the functions imagecopyresized () and imagecopyresampled(). In documentation was information about implicit use of the bicubic interpolation algorithm within the function imagecopyresized (). I compared the result of the function with Adobe PhotoShop bicubic resiz

[PHP] Re: GPL and The PHP License

2001-09-24 Thread jimw
Fábio migliorini <[EMAIL PROTECTED]> wrote: > 2) Can I write a program in php and to distribute it under the gpl license? yes. jim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] GPL and The PHP License

2001-09-24 Thread Fábio Migliorini
The php was distributed under gpl in the version 3 now it´s distribued under "the php license" that is based on qpl (qt public license)... so... 1) Is "the php license" incopatible with gpl? 2) Can I write a program in php and to distribute it under the gpl license? 3) Why qpl and not gpl?

[PHP] Problem with upload file with safe mode

2001-09-24 Thread darius
Hi, could you help me please? I run php in safe mode, but it makes problem with upload file. File is upladed to /tmp directory, but it doesn't work. I can upload only for some users, what I have to do? Sorry for my bad English. Thanks Radek -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: passing parameters from the command line

2001-09-24 Thread Marc-Andre Vallee
use the C style constant argv[] argc and call your .php like this foo.php 1 5 then, argv[1] = 1 and, argv[2] = 5 -- Marc-Andre Vallee [EMAIL PROTECTED] "Bill" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > When PHP is being run as cgi, I can pass paramete

[PHP] passing parameters from the command line

2001-09-24 Thread bill
When PHP is being run as cgi, I can pass parameters in the url like this: http://mysite.com/phpfile.cgi?var1=5&var2=7 Which will get me var1 as 5 and var2 as 7. I want to run this cgi PHP script as a cron job. So, I'm wondering how to pass it parameters from the command line. kind regards, b

[PHP] execute remote CGI without redirect

2001-09-24 Thread Webmaster
How do you call for the execution of a CGI on a remote machine without redirecting the output of that CGI to the browser? I basically need to send form info to a CGI of a marketing group, while keeping the browser on my site. Thanks, _Ken [EMAIL PROTECTED] -- PHP General Mailing List (http://

Re: [PHP] global variables

2001-09-24 Thread Philip Olson
$bar = 'abc'; function foo() { global $bar; $bar = 'def'; } foo(); echo $bar; // def http://www.php.net/manual/en/language.variables.scope.php regards, Philip Olson On Tue, 25 Sep 2001, Peter wrote: > Hi, > > I am have a function in which I have created a variable in it called

[PHP] what does this mean?

2001-09-24 Thread Jay Paulson
Warning: Cannot use a scalar value as an array what does that mean? i have in my code this: $errorMsg["error"] = ""; thanks, jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP] How to increase number of supported servers?

2001-09-24 Thread Jay Paulson
what does this mean? Warning: Cannot use a scalar value as an array I look at the line that is causing the warning and it's this: $errorMsg["error"] = ""; thanks, jay [EMAIL PROTECTED] wrote: >PHP 3.0.18 stops working after i add over 125 virtual hosts in my >httpd.conf file. PHP 4.0.6 still

Re: [PHP] "Warning: Undefined variable" when used locally, but fineon remote server

2001-09-24 Thread Philip Olson
This has to do with error_reporting level setting set in php.ini echo $iamnotset; when E_NOTICE level is on, that will produce a Warning. Otherwise, it will not. I posted something similiar recently, see it here: http://marc.theaimsgroup.com/?l=php-general&m=100083224311516 On uklinux, e

[PHP] Possible to store arrays in session variables?

2001-09-24 Thread Johnny Nguyen
Is it possible to store arrays inside of session variables? I mean is this a valid statement? $HTTP_SESSION_VARS["Crumbs"][0] = "1"; $HTTP_SESSION_VARS["Crumbs"][1] = "2"; foreach ($HTTP_SESSION_VARS["Crumbs"] as $k => $v) { echo "$v ->"; } Regards, Johnny Nguyen -- PHP General Maili

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
I just tried this here below. Before trying this I changed any called to $PHPSESSID to session_id(). I turned off cookies Loaded the page... Created session id and file: sess_44074d3a54862b480c3407c9eb373f77 Contents: var1|s:8:"My var 1";var2|s:8:"My var 2"; I submitted the form: PHPsessionid sh

[PHP] FW: PHP isn't reading the php.ini

2001-09-24 Thread Brandon Orther
Hello, I had a computer running a MSSQL server and apache with PHP on it for development. I got hit by the nimda Virus and have had to start all over. I am trying to get MSSQL support with PHP but I am having the following problems. Thanks for any help ahead of time. When I uncomment the like

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
Yeah, I think it's my server setup, or something I have going on on my server because others have said that it works fine for them but not on my machine. I'm running red hat linux 6.1 apache+mod_ssl 1.3.20 On 9/24/2001 2:08 PM this was written: >> >> Then I will reload the first page again by

[PHP] PHP isn't reading the php.ini

2001-09-24 Thread Brandon Orther
Hello, I had a computer running a MSSQL server and apache with PHP on it for development. I got hit by the nimda Virus and have had to start all over. I am trying to get MSSQL support with PHP but I am having the following problems. Thanks for any help ahead of time. When I uncomment the lik

RE: [PHP] global variables

2001-09-24 Thread Rodino, Justin
global $genpasswd; ___ Justin Bain Rodino Technology Analyst/Systems Engineer p. 219.524.1000 f. 219.524.1001 e. [EMAIL PROTECTED] > -Original Message- > From: Peter [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 24, 2001 1:28 PM > To: PHP List

RE: [PHP] Even more text document stuff!!

2001-09-24 Thread Matthew Loff
Read the manual. (Déjà vu?) http://www.php.net/manual/en/function.fread.php Even has an example that says -- "get contents of a file into a string" -Original Message- From: Kyle Smith [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 7:42 PM To: [EMAIL PROTECTED] Subject:

[PHP] global variables

2001-09-24 Thread Peter
Hi, I am have a function in which I have created a variable in it called $genpassword. I find that I am unable to carry this variable over to the the other scripts to use because it is a local variable and its value exists only in the function. Is there anyway that I can take the value in $gen

RE: [PHP] Modem communcation using PHP

2001-09-24 Thread Nathan
Try this.. -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 9:46 AM To: [EMAIL PROTECTED] Subject: [PHP] Modem communcation using PHP Hi ya all! I can't find the PHP documentation on using the php code to initalize, configure, da

Re: [PHP] Sessions just don't work on my machine. (Trying this ag ain)

2001-09-24 Thread Tamas Arpad
On Monday 24 September 2001 18:39, Thomas Deliduka wrote: > On 9/24/2001 12:32 PM this was written: > >> After reloading IE on the PC now the SID constant doesn't > >> echo anything at > >> all. > > > > SID is always defined on the first page request. It is only > > defined on later page requests

Re: [PHP] Sessions just don't work on my machine. (Trying this ag ain)

2001-09-24 Thread Arpad Tamas
> > Then I will reload the first page again by erasing index2.php and > hitting enter and it will display a new sess id number and show the > first page, as normal but that sessid number is equal t the new > session created on the server and the value of it is: > > var3; var1; var2 > > This is str

[PHP] How to increase number of supported servers?

2001-09-24 Thread buchholz
PHP 3.0.18 stops working after i add over 125 virtual hosts in my httpd.conf file. PHP 4.0.6 still working. After reaching this limit PHP3 completele stopps delivering pages. Searching the archives i recognized, that nearly the same problem was reported on http://bugs.php.net, reading Bug Id #531

[PHP] Php-Mysql Work Wanted

2001-09-24 Thread Siim Einfeldt aka Itpunk
Hi, If anyone has some good separate projects or part-time php-mysql related job to offer, I would appreciate if you let me know. I know php&mysql pretty good and have also some pretty nice things in my portfolio (both programming and design). For more information I can be contacted at [EMAIL PR

[PHP] "Warning: Undefined variable" when used locally, but fine on remote server

2001-09-24 Thread Justin Colson
I have recently installed Apache 1.3.2 and PHP 4.0.6 using the instructions at http://hotwired.lycos.com/webmonkey/00/44/index4a.html?tw=programming on a Win98 machine which I will later use as an intranet server (NT workstation refuses to detect NT server, and the machine is too slow for Win2k).

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
Thank you everyone for your continued help with this. It's still not fixed but I have to leave to a dr. appt. I hope that most--If not all--of you are on when I get back. I just wanted to alert you as to why I wouldn't be responding to your questions/messages. Here is the last information I sent

RE: [PHP] Sessions just don't work on my machine. (Trying this ag ain)

2001-09-24 Thread Johnson, Kirk
OK, do you have access to your /tmp directory? If so, close your browser, then open it and request your index page. Now sort the files in /tmp by creation time, to find the newly created session file. Look at its contents, and see if the 2 variables have values assigned to them in the file. Do thi

[PHP] Sovket help?

2001-09-24 Thread shi
Hi I'm trying to listen to port 119 with a socket connection. The script looks like this: It works fine until this line "if(($ac=accept_connect($sock))<0){" Thats where the problem is, it never accepts a connection it just keeps on running. "; echo strerror($bin) . ""; echo strerror($lis). "";

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 1:18 PM this was written: >> OK, now the session ID is getting passed like it should. Now for the two >> missing variables. Try moving the two assignment statements ahead of the two >> session_register() calls - "assign, then register". I have never seen this >> make a difference, bu

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 1:15 PM this was written: > OK, now the session ID is getting passed like it should. Now for the two > missing variables. Try moving the two assignment statements ahead of the two > session_register() calls - "assign, then register". I have never seen this > make a difference, but th

RE: [PHP] Sessions just don't work on my machine. (Trying this ag ain)

2001-09-24 Thread Johnson, Kirk
OK, now the session ID is getting passed like it should. Now for the two missing variables. Try moving the two assignment statements ahead of the two session_register() calls - "assign, then register". I have never seen this make a difference, but the pros on this list say that is the way it needs

[PHP] Mysql check

2001-09-24 Thread Michael George
I think I've discovered a problem with MySQL, but I wanted to check here to see if perhaps there's something I'm doing wrong. I have the following table: mysql> show columns from IncomingInvoice; +--+--+--+-+-+--

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 1:05 PM this was written: > On Monday 24 September 2001 18:51, Thomas Deliduka wrote: >> I'm finding my script on www.fromtheduke.com/session/ still doesn't >> work even with the in the link or passing it along in the >> form. > Please send us your latest code again, then we can hel

Re: [PHP] Sessions just don't work on my machine. (Trying this ag ain)

2001-09-24 Thread Tamas Arpad
On Monday 24 September 2001 18:51, Thomas Deliduka wrote: > I'm finding my script on www.fromtheduke.com/session/ still doesn't > work even with the in the link or passing it along in the > form. Please send us your latest code again, then we can help you, not just guessing what you've might don

RE: [PHP] Modem communcation using PHP

2001-09-24 Thread Jon Haworth
Configure & dial? Wouldn't your web server already be online? Send and receive, , have a look at http://www.php.net/fopen (fopen: Open a file or URL) and play around with that... might help... Cheers Jon -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: 24 Se

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
I'm finding my script on www.fromtheduke.com/session/ still doesn't work even with the in the link or passing it along in the form. On 9/24/2001 12:49 PM this was written: > On Monday 24 September 2001 18:39, Thomas Deliduka wrote: >> On 9/24/2001 12:32 PM this was written: After reloading

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:39 PM this was written: > Try these changes: > > session.cookie_lifetime = 0 > session.use_trans_sid = 1 > I see no changes to my problems. -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.c

[PHP] Modem communcation using PHP

2001-09-24 Thread Scott Fletcher
Hi ya all! I can't find the PHP documentation on using the php code to initalize, configure, dail, send and receive data using the modem. Anyone know anything about it. I'm kind of stuck on this project. Will appreciate it on anyone who can point it out for me. Thanks, Scott -- PHP

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:39 PM this was written: > Try these changes: > > session.cookie_lifetime = 0 > session.use_trans_sid = 1 > > Also, what version of PHP are you using? PHP: 4.0.6 In the past I had problems with trans_sid with urls that already had querystrings being passed. They would mes

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:32 PM this was written: >> After reloading IE on the PC now the SID constant doesn't >> echo anything at >> all. > > SID is always defined on the first page request. It is only defined on later > page requests if cookies are disabled in the browser. So, I shouldn't use that if I

RE: [PHP] Sessions just don't work on my machine. (Trying this ag ain)

2001-09-24 Thread Johnson, Kirk
Try these changes: session.cookie_lifetime = 0 session.use_trans_sid = 1 Also, what version of PHP are you using? > My php.ini: > > [Session] > session.save_handler = files > session.save_path = /tmp > > session.use_cookies = 1 > session.name = PHPSESSID

RE: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Johnson, Kirk
> After reloading IE on the PC now the SID constant doesn't > echo anything at > all. SID is always defined on the first page request. It is only defined on later page requests if cookies are disabled in the browser. Kirk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:28 PM this was written: > Perhaps you could post the [Session] section of your php.ini file. It > appears that session.cookie_lifetime is not set to 0, which is what you want > for a session cookie. Perhaps we can find another setting that needs a > change. My php.ini: [Session]

Re: [PHP] Screen Resolution in PHP?

2001-09-24 Thread Alexander Skwar
So sprach »Jay Paulson« am 2001-09-24 um 10:50:02 -0500 : > Is there a way to get the client's screen resolution in php? no, because, as you say, it's the client's screen resolution and PHP runs on the server. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Thomas Deliduka
After reloading IE on the PC now the SID constant doesn't echo anything at all. On 9/24/2001 12:28 PM this was written: > On 9/24/2001 12:28 PM this was written: > >> On Monday 24 September 2001 18:20, Thomas Deliduka wrote: >>> On 9/24/2001 12:22 PM this was written: Try to use constant S

RE: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Johnson, Kirk
Perhaps you could post the [Session] section of your php.ini file. It appears that session.cookie_lifetime is not set to 0, which is what you want for a session cookie. Perhaps we can find another setting that needs a change. Kirk > Sessions just don't work on my machine... -- PHP General Mail

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:28 PM this was written: > On Monday 24 September 2001 18:20, Thomas Deliduka wrote: >> On 9/24/2001 12:22 PM this was written: >>> Try to use constant SID, maybe that will work, and it is more >>> likely that it will work on other intallations with other session >>> variable names

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Tamas Arpad
On Monday 24 September 2001 18:20, Thomas Deliduka wrote: > On 9/24/2001 12:22 PM this was written: > > Try to use constant SID, maybe that will work, and it is more > > likely that it will work on other intallations with other session > > variable names. > > I just tried using SID in my index.php

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:22 PM this was written: > Try to use constant SID, maybe that will work, and it is more likely > that it will work on other intallations with other session variable > names. I just tried using SID in my index.php and there is nothing that displays. Hmmm. -- Thomas Deliduka IT M

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Arpad Tamas
On Monday 24 September 2001 17:56, Thomas Deliduka wrote: Hi, > PHPSESSID: Try to use constant SID, maybe that will work, and it is more likely that it will work on other intallations with other session variable names. > > VAR 3: TYPE=SUBMIT VALUE="go"> > You should add the session id (SI

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Thomas Deliduka
I see I'm relying on cookies in my code. Lemme see if I can pass it. Thanks. On 9/24/2001 12:11 PM this was written: > I dont see where the SID is being passed to the next page. I recently > struggled through getting sessions to work, and for me I had to send SID > myself manually, the server wo

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Thomas Deliduka
I see I'm relying on cookies in my code. Lemme see if I can pass it. On 9/24/2001 12:04 PM this was written: > I had the exact same problem.. don't know if you had this advice yet or not > but what I did is when I started a session I would grab the session id for > that session and put it in a v

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:02 PM this was written: > Dont use sessions, they are a little flaky anyway. Use a mixture of holding > data in database and passing sid/userid/hash around on the URL. You wont > regret > it. That's what I do. Except I want to install: http://www.phplinks.org/ Which requires

Re: [PHP] Even more text document stuff!!

2001-09-24 Thread Philip Olson
look into the following functions (in the manual), play with the examples then eventually implement the concepts into your script : file() fopen() fread() fgets() the manual entries for the above functions contain examples that essentially do what you want. most likely you'll use file()

  1   2   >