Re[2]: [PHP] IE6 with latest hotfixes breaks forms ...

2004-03-02 Thread Richard Davey
Hello Chris, Tuesday, March 2, 2004, 12:31:18 AM, you wrote: CS I have heard from numerous sources that the latest patch for IE 6 CS (released a week or two ago) has a bug that causes it to have trouble CS sending a proper POST request. CS I don't have access to a Windows machine to test this

Re[2]: [PHP] Adverse performance of undefined variables and indexes?

2004-03-02 Thread Richard Davey
Hello Rob, Tuesday, March 2, 2004, 6:31:28 AM, you wrote: RP Let's say, with the default error handler, would it take more RP overhead for PHP to evaluate all the extra isset() calls and if RP statements required to eliminate notices or for all the checking RP it has to do with the notices

Re: [PHP] FTP alternative to copy() ?

2004-03-02 Thread raisinlove
Raditha Dissanayake wrote: then use `cp source destination` In my php script? This must be executed automaticaly by the script. I probably have no other choice than copy() then. -s -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] FTP alternative to copy() ?

2004-03-02 Thread raisinlove
Raisinlove wrote: Raditha Dissanayake wrote: then use `cp source destination` In my php script? This must be executed automaticaly by the script. I probably have no other choice than copy() then. -s Ok, I found the solution! ftp_rename() was what I was looking for. Funny no one mentioned it! I

Re: [PHP] php newsgroup portal?

2004-03-02 Thread Zhang Weiwu
Shane Nelson wrote: To read this list I use thunderbird: http://www.mozilla.org/projects/thunderbird/ It's an email client instead of a newsgroup reader. Just filter the php-general messages into a separate folder and sort it by thread. Super easy to use and a very nice piece of software. I

[PHP] PHP5: check if a variable is declared as private

2004-03-02 Thread Vivian Steller
Hello, is it possible to check if a variable declared as private? I do not want to use reflection api in this case... ?php class MyClass { private $var = something; } $obj = new MyClass(); // something like this would be nice...

[PHP] re-raise the question: best usenet gateway

2004-03-02 Thread Zhang Weiwu
Hello. I am looking for a good usenet gateway written in php. I have been looking for a good opensourced one, but none satisfied me. There is a very charming project mynewsgroup at mynewsgroup.sf.net, particularly it has beautiful looking. But that project seems no longer under development.

RE: [PHP] IE6 with latest hotfixes breaks forms ...

2004-03-02 Thread Ford, Mike [LSS]
On 02 March 2004 00:04, Marc G. Fournier wrote: We're having a weird problem with some of our PHP forms, where, when a client uses IE6 with the latest hotfixes, they are reporting that have to re-submit a couple of times for it to take ... as if somehow the data isn't being passed down

[PHP] Re: re-raise the question: best usenet gateway

2004-03-02 Thread Zhang Weiwu
Zhang Weiwu wrote: There is a very charming project mynewsgroup at mynewsgroup.sf.net, particularly it has beautiful looking. But that project seems no longer under development. Just to correct myself: I'm sorry I'm obviously wrong. I contacted a developer, the development of mynewsgroups is

[PHP] Re: Credit Card validation

2004-03-02 Thread Nadim Attari
http://www.zend.com/codex.php?CID=22 Hope it helps... Nadim Attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sessions, sessions and... sessions

2004-03-02 Thread Puiu Hrenciuc
Hello, I am a little desperate right now since I have tried to solve this problem for 3-4 days now. I have developed a site that uses sessions for user authentication and data storage between page access. The development server is Apache1.3.24/MySQL4.1.0/PHP4.3.3/Win XP Pro The release server is

Re: [PHP] Sessions, sessions and... sessions

2004-03-02 Thread Richard Davey
Hello Puiu, Tuesday, March 2, 2004, 11:13:07 AM, you wrote: PH The site is working just fine on the development server, but when PH uploading on release server it keeps losing session data and the PH users are logged out of their account in a Some things to try/think about: 1. Are your

RE: [PHP] Sessions, sessions and... sessions

2004-03-02 Thread electroteque
all i can think of here, you could be calling start_session twice in the same page ? also init set the session timeout to an hour or so -Original Message- From: Puiu Hrenciuc [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 10:13 PM To: [EMAIL PROTECTED] Subject: [PHP] Sessions,

Re: [PHP] Sessions, sessions and... sessions

2004-03-02 Thread Puiu Hrenciuc
1. No. If that would be the problem i think that sessions would expire after the same period of time and not randomly , right ? 2. The site consists in a single page (index.php) that includes the subpages as needed. The session_start() is at the begining of the file. If this would

[PHP] Session and MS-IE6

2004-03-02 Thread Pance
I verify users to my website with sessions. It's been working fine for the past couple of years, but recently I started having some problems using sessions for example: session_register(user_id); if (!(user_id)){ and then I read the PHP manual and it suggested this instead:

Re: [PHP] Sessions, sessions and... sessions

2004-03-02 Thread Puiu Hrenciuc
the session_start() is in a file that is require_once in every page, so it can't get called more than one time. If this would be the problem, I would also have problems on the development server, don't you think ? Electroteque [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] all i can

php-general Digest 2 Mar 2004 11:41:41 -0000 Issue 2622

2004-03-02 Thread php-general-digest-help
php-general Digest 2 Mar 2004 11:41:41 - Issue 2622 Topics (messages 179195 through 179225): IE6 with latest hotfixes breaks forms ... 179195 by: Marc G. Fournier 179196 by: Chris Shiflett 179198 by: Marc G. Fournier 179199 by: Chris Shiflett 179201

[PHP] Re: Session and MS-IE6

2004-03-02 Thread Puiu Hrenciuc
Have you tried other browsers ? Before you can say it is a browser issue you have to try as many browsers as possible and see if the problem is still there. What server/os/php is on your machine and what on client's ? Can you post the session management part of tour code ? Please provide more info

Re: [PHP] Session and MS-IE6

2004-03-02 Thread Richard Davey
Hello Pance, Tuesday, March 2, 2004, 11:45:49 AM, you wrote: P and then I read the PHP manual and it suggested this instead: P session_start(); P if (!$_SESSION['user_id']){ P which worked on my machine (Win98 and MS-IE5.5). But today I tried to login P to my page from the

[PHP] Re: Session and MS-IE6

2004-03-02 Thread Pance
Have you tried other browsers ? I've tried MS-IE 5.5 and Mozilla 1.4b on my Win98 computer. They both work. I've tried MS-IE6 on my clients Win98 computer - it didn't work. What server/os/php is on your machine and what on client's ? My server is runing Linux 2.4.24 #3; PHP-4.3.3; Zend 1.3.0

[PHP] god damn technical outsourcing.com

2004-03-02 Thread Richard Davey
Why oh why do people subscribe to this list and then set a bloody auto-responder up?! The poor people who actually post messages to this list helping others get nothing but a wealth of spam and crap back again because some list subscribers are either careless or just plain ignorant, i.e.: This

[PHP] Re: Sessions, sessions and... sessions

2004-03-02 Thread Pance
Hi Puiu, I've been having the same problem too. My code that worked up until recently just stopped working. I did change from using: session_register(user_id); if (!(user_id)){ to using: session_start(); if (!$_SESSION['user_id']){ Now it works with my

[PHP] Re: Sessions, sessions and... sessions

2004-03-02 Thread Pance
Hi Puiu, I've been having the same problem too. My code that worked up until recently just stopped working. I did change from using: session_register(user_id); if (!(user_id)){ to using: session_start(); if (!$_SESSION['user_id']){ Now it works with my

[PHP] reorder array

2004-03-02 Thread Diana Castillo
If I have an array as follows, and I want to re-order it so that it is in order of seqnum , How could I do it? Array ( [0] = Array ( [price] = 187.08 [seqnum] = 2 [roomdesc] = Standard ) [1] = Array (

Re: [PHP] Session and MS-IE6

2004-03-02 Thread Pance
You are correct Richard. Thanks for stating the obvious. The reason I get the undefined index.. error message is because IT DOES NOT EXIST. How does this resolve my session problem? Let me repeat - my code works with MS-IE 5.5 but not MS-IE6. Pance. Richard Davey [EMAIL PROTECTED] wrote in

Re: [PHP] reorder array

2004-03-02 Thread Richard Davey
Hello Diana, Tuesday, March 2, 2004, 12:06:55 PM, you wrote: DC If I have an array as follows, and I want to re-order it so that it is in DC order of seqnum , How could I do it? DC [0] = Array DC ( DC [price] = 187.08 DC [seqnum] = 2 DC [roomdesc]

Re[2]: [PHP] Session and MS-IE6

2004-03-02 Thread Richard Davey
Hello Pance, Tuesday, March 2, 2004, 12:18:54 PM, you wrote: P You are correct Richard. Thanks for stating the obvious. The reason I get P the undefined index.. error message is because IT DOES NOT EXIST. How does P this resolve my session problem? You posted 2 lines of code, how are we

[PHP] Re: check if a variable is declared as private

2004-03-02 Thread Jakes
The word private says it all - If you create a object, you are not going to be able to use it, because its private to that class. Its a class variable, not a object variable Vivian Steller [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, is it possible to check if a variable

[PHP] Re: check if a variable is declared as private

2004-03-02 Thread Vivian Steller
Jakes wrote: The word private says it all - If you create a object, you are not going to be able to use it, because its private to that class. Its a class variable, not a object variable oh, yeah - your right of course... taking a look at get_object_vars($obj) output doesn't show private

[PHP] Re: Sessions, sessions and... sessions

2004-03-02 Thread Puiu Hrenciuc
I don't use session_register(), just the $_SESSION global variable, so this is not it... :( Pance [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Puiu, I've been having the same problem too. My code that worked up until recently just stopped working. I did change from using:

RE: [PHP] god damn technical outsourcing.com

2004-03-02 Thread Chris Sandy
I agree, these people need to be removed from the list. -Original Message- From: Richard Davey [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 7:03 AM To: php-general Subject: [PHP] god damn technical outsourcing.com Why oh why do people subscribe to this list and then set a

[PHP] Re: Session and MS-IE6

2004-03-02 Thread Puiu Hrenciuc
Please provide the code where you set the $_SESSION['userid'] variable. Pance [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Have you tried other browsers ? I've tried MS-IE 5.5 and Mozilla 1.4b on my Win98 computer. They both work. I've tried MS-IE6 on my clients Win98 computer -

[PHP] PHP5: static class variables

2004-03-02 Thread Vivian Steller
hello again, once again a question about class properties, this time more reasonable... Is there a possibility to check wether a static variable is set or not? ?php class MyClass { public static $var; } print_r(get_class_vars(MyClass)); ? will not show

[PHP] sessions timeout

2004-03-02 Thread André Ventura Lemos
Hi list :-) I'm using sessions to manage users, by using cookies to store the session. My question is, how do I make the session last _forever_? ATM the session lasts 'till the user closes the browser. Thanks -- I/O, I/O, It's off to disk I go, A bit or byte to read or write, I/O, I/O,

[PHP] Internal server error

2004-03-02 Thread kringla
We are using a web-hotel named b-one. Very often we stumble on 'internal server error 500' without any reason. I have not touched the php-pages and yet the problem occur. What should I do? Is there any possibilty that my scrips are causing these errors? We also get the same errors when working

RE: [PHP] Internal server error

2004-03-02 Thread Chris Sandy
They may be running mod_security and a badly configured mod_security can produce 500. I also noticed when compiling php as a cgi 90% of my code gave me 500 errors as well. -Original Message- From: kringla [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 8:39 AM To: [EMAIL

[PHP] php5

2004-03-02 Thread Carlos
?xml version=1.0? config network defaultroute= dnsserver= interface name=lan type=ethernet device=eth0 ip=192.168.1.1 subnet=24/ interface name=wan type=ethernet device=eth1 ip=192.168.1.1 subnet=24/ alias number=1 desc=teste device=eth0/ alias number=2 desc=teste1 device=eth1/ /network /config

Re: [PHP] Internal server error

2004-03-02 Thread Raditha Dissanayake
The server's error log will tell you the cause (most of the time) kringla wrote: We are using a web-hotel named b-one. Very often we stumble on 'internal server error 500' without any reason. I have not touched the php-pages and yet the problem occur. What should I do? Is there any possibilty

[PHP] [Stats] PHP Net List: February 2004

2004-03-02 Thread Bill Doerrfeld
-- Searchable archives for this list are available at http://www.listsearch.com/phplist.lasso --

[PHP] GMP problem

2004-03-02 Thread csko
Hi! I've some problems with installing the GMP module for PHP. My system: Debian Linux 3.0 Woody I've downloaded the source from php.net. I cd-ed to its dir and typed ./configure --with-gmp (i've recently installed GMP with apt-get install libgmp2) I have an error: checking for GNU gettext

Re: [PHP] GMP problem

2004-03-02 Thread André Ventura Lemos
http://packages.debian.org/stable/devel/libgmp2-dev On Tue, 2004-03-02 at 14:28, csko wrote: Hi! I've some problems with installing the GMP module for PHP. My system: Debian Linux 3.0 Woody I've downloaded the source from php.net. I cd-ed to its dir and typed ./configure --with-gmp (i've

RE: [PHP] god damn technical outsourcing.com

2004-03-02 Thread Ryan A
I agree too. Now who do we contact for that? This seems to be the latest in a string of idiots, the king was that idiot at hanmir.com then came the challenge requests (ie: click here to prove your email is not spam, you only have to do this once blah blah blah) and now this... :-( I agree, these

[PHP] Re: GMP problem

2004-03-02 Thread csko
Thanks for your fast answer, its working. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] god damn technical outsourcing.com

2004-03-02 Thread Ryan A
Also anybody else getting from AirAndHotel.com? I agree too. Now who do we contact for that? This seems to be the latest in a string of idiots, the king was that idiot at hanmir.com then came the challenge requests (ie: click here to prove your email is not spam, you only have to do this

Re[2]: [PHP] god damn technical outsourcing.com

2004-03-02 Thread Richard Davey
Hello Ryan, Tuesday, March 2, 2004, 2:35:23 PM, you wrote: RA Also anybody else getting from AirAndHotel.com? Yes, AirAndHotel.com are a pain in the ass too. I don't think *anyone* is in charge of this list. It just runs... -- Best regards, Richard Davey

Re[2]: [PHP] god damn technical outsourcing.com

2004-03-02 Thread Rasmus Lerdorf
On Tue, 2 Mar 2004, Richard Davey wrote: Tuesday, March 2, 2004, 2:35:23 PM, you wrote: RA Also anybody else getting from AirAndHotel.com? Yes, AirAndHotel.com are a pain in the ass too. I don't think *anyone* is in charge of this list. It just runs... That's not true. Simply send an email

RE: Re[2]: [PHP] god damn technical outsourcing.com

2004-03-02 Thread Chris Sandy
Its [EMAIL PROTECTED] -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 9:52 AM To: Richard Davey Cc: [EMAIL PROTECTED] Subject: Re[2]: [PHP] god damn technical outsourcing.com On Tue, 2 Mar 2004, Richard Davey wrote: Tuesday, March 2,

RE: Re[2]: [PHP] god damn technical outsourcing.com

2004-03-02 Thread Rasmus Lerdorf
Ok, gone. On Tue, 2 Mar 2004, Chris Sandy wrote: Its [EMAIL PROTECTED] -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 9:52 AM To: Richard Davey Cc: [EMAIL PROTECTED] Subject: Re[2]: [PHP] god damn technical outsourcing.com On

[PHP] interbase + php

2004-03-02 Thread Markus Ecker
hi all!! i have the problem that i want to put an image into a firebird database. the problem is that when i copy the code of the image into my sql syntax, the code contains ' and and then php thinks that this is the end of the sql statement, although this is just data of the image. is there

[PHP] Re: interbase + php

2004-03-02 Thread Puiu Hrenciuc
Why don't you use base64_encode and base64_decode functions ? It will take about 33% more space but will be SQL and PHP safe . Markus Ecker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hi all!! i have the problem that i want to put an image into a firebird database. the problem

[PHP] readfile error

2004-03-02 Thread Ashley
I posted this on Novell's PHP forum, but I have not gotten a response. Hopefully, someone here can help me. -- I was using the readfile function on a server that was running Apache 1.3.2, PHP 4.2.3 (PHP for Netware) and then switched to a different server running Apache 2.0.48, PHP 4.2.3 (PHP

Re: [PHP] readfile error

2004-03-02 Thread Richard Davey
Hello Ashley, Tuesday, March 2, 2004, 3:26:54 PM, you wrote: A Warning: php_network_getaddresses: gethostbyname failed in 'insert path A here' on line 6 A Warning: A readfile(http://jurist.law.pitt.edu/paperchase/blogger_rss.xml;) - A Bad file number in 'insert path here' on line 6 A Does

RE: Re[2]: [PHP] god damn technical outsourcing.com

2004-03-02 Thread Ryan A
Hi Rasmus, I think I can safely say, on behalf of everyone on the list: Thank you. -Ryan On 3/2/2004 4:03:04 PM, Rasmus Lerdorf ([EMAIL PROTECTED]) wrote: Ok, gone. On Tue, 2 Mar 2004, Chris Sandy wrote: Its [EMAIL PROTECTED] -Original Message- From: Rasmus Lerdorf

[PHP] Re: interbase + php

2004-03-02 Thread Puiu Hrenciuc
I also think addslashes() and stripslashes() could be useful.. Puiu Hrenciuc [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Why don't you use base64_encode and base64_decode functions ? It will take about 33% more space but will be SQL and PHP safe . Markus Ecker [EMAIL

[PHP] Connection with php and mssql by using jdbc driver ( freetds )

2004-03-02 Thread edwardspl
Dear All, If you are connecting php ( RPM package ) and mssql by jdbc driver freetds... please reply to me, I may need your help ! Many Many thank for your help ! Edward. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session_id and cookie settings

2004-03-02 Thread Torsten
Hi, when I destroy my session and reload my index.php. I get the same session_id() that was just destroyed before. I've checked it after session_destroy() with echo session(); The function returned no value anymore. But as I said, when starting a new session the old session_id is reappearing. Only

[PHP] gd and php 4.3.4

2004-03-02 Thread Jerad Hampton
Hello, I was wondering if anyone could give me a bit of help with installing gd on a freebsd 5.2.1 with php 4.3.4 Is it best to use the bundled gd that comes with php 4.3.4 or to install it from the source or ports? For the required libraries again use the source or install from ports.

Re: [PHP] session_id and cookie settings

2004-03-02 Thread Chris Shiflett
--- Torsten [EMAIL PROTECTED] wrote: when I destroy my session and reload my index.php. I get the same session_id() that was just destroyed before. I've checked it after session_destroy() with echo session(); The function returned no value anymore. But as I said, when starting a new session

[PHP] Re: session_id and cookie settings

2004-03-02 Thread Puiu Hrenciuc
Firs of all I think it would be easier to conult PHP Help before posting. Quoting from PHP Help - function session_destroy(): [EMAIL PROTECTED] (18-Jan-2002 02:26) When users log in and out of your site they will keep the original session you have set for them. if you need to have this change on

Re: [PHP] readfile error

2004-03-02 Thread Ashley
Line 6 is: readfile($dataURL); $dataURL is a link to an xml file. It is a valid file because if I visit the link, I do get the file I am looking for, but reading it into PHP gives the described error message. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Session performance

2004-03-02 Thread Thiago Silva
Hello all, I was wondering... Why session data are stored on files rather than in on memory? People have been telling that acessing session data can be slow, and I need some kind of (fast) caching mechanism to store application data. After some search I found some php code that handles the session

[PHP] Re: readfile error

2004-03-02 Thread Puiu Hrenciuc
Can you try : readfile(http://ip.address.here/paperchase/blogger_rss.xml;) ? I don't know the cause, but I think replacing the host name with it's IP address would work... Ashley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I posted this on Novell's PHP forum, but I have not gotten

Re: [PHP] Re: interbase + php

2004-03-02 Thread Daniel Clark
I understand you can use base64_encode and decode. http://www.phpbuilder.com/manual/function.base64-encode.php i have the problem that i want to put an image into a firebird database. the problem is that when i copy the code of the image into my sql syntax, the code contains ' and and

[PHP] Re: readfile error

2004-03-02 Thread Ashley
That worked. Didn't think about DNS as being the issue. Thanks for pointing me in the right direction. Ashley -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Session performance

2004-03-02 Thread Andre Cerqueira
i got that doubt too than i checked the manual: http://www.php.net/session seems like it can cache, but the default is no cache using http://br.php.net/manual/en/function.session-cache-limiter.php , you can tune it (dont know how good it would do it) anyway... i use mysql heap table (it stays on

[PHP] Re: php5

2004-03-02 Thread Vivian Steller
Carlos wrote: hello ... I'm working with simplexml (php5) to manipulate the data in xml file, but I'm having one problem. i'm not familiar with simplexml but with the dom functions and i think (as simplexml is based on dom) the simplexml objects will work with dom objects as well?! otherwise

Re: [PHP] gd and php 4.3.4

2004-03-02 Thread Rasmus Lerdorf
On Tue, 2 Mar 2004, Jerad Hampton wrote: I was wondering if anyone could give me a bit of help with installing gd on a freebsd 5.2.1 with php 4.3.4 Is it best to use the bundled gd that comes with php 4.3.4 or to install it from the source or ports? I would suggest using the bundled

[PHP] Session performance

2004-03-02 Thread Thiago Silva
Hello all, I was wondering... Why session data are stored on files rather than in on memory? People have been telling that acessing session data can be slow, and I need some kind of (fast) caching mechanism to store application data. After some search I found some php code that handles the session

[PHP] php4: session_start: Failed to initialize storage module. ...

2004-03-02 Thread Radi Shourbaji
Hello Everyone! For some reason one of my PHP based sites is generating this error periodically since moving it from a Windows server to a Linux (Fedora FC1) system. While the error is usually cleared by a simple refresh, it is a major annoyance and my site visitors are continually asking me

[PHP] Survey code

2004-03-02 Thread Alex Hogan
I need to take some surveys that contain complicated question answer schemes. Does anyone know of a good survey script (preferable), or some good tutorials they can point me to? I would like to find something that is free;- alex hogan

[PHP] Cookie Problems (Different than the post by David Jackson)

2004-03-02 Thread Brian J. Celenza
Here's a snippet of the code. I'm sending the setcookie header out long before any of the other headers, but I'm still getting: Warning: Cannot modify header information - headers already sent by (output started at C:\wwwroot\index.php:4) in C:\wwwroot\index.php on line 7 -Code-- ?

Re: [PHP] Re: Sessions, sessions and... sessions

2004-03-02 Thread Daniel Clark
I believe the PHP.INI has to be set with a Session variable temp directory. Hi Puiu, I've been having the same problem too. My code that worked up until recently just stopped working. I did change from using: session_register(user_id); if (!(user_id)){ to using:

Re: [PHP] Re: Sessions, sessions and... sessions

2004-03-02 Thread Daniel Clark
session.save_path string session.save_path defines the argument which is passed to the save handler. If you choose the default files handler, this is the path where the files are created. Defaults to /tmp. If session.save_path's path depth is more than 2, garbage collection will not be

[PHP] MCRYPT Help

2004-03-02 Thread Miguel J. Jimnez
Hi, I have the following script that encode data using 3DES, but I cannot make a script to DECODE that data because all the tries return me thwe wrong string, can anybody tell me the right script to decode the data? Copied from PHP Manual: ?php $key = this is a secret key; $input = Let

[PHP] Litespeed Web Server 1.3.1

2004-03-02 Thread LiteSpeed
We thought some one might be interested in a new high performance web platform for PHP scripting. Apologize to who are not interested. LiteSpeed Web Server 1.3.1 is released Litespeed Technologies is proud to bring you Litespeed web server 1.3.1. LiteSpeed Web Server is a full-featured, cross

Re: [PHP] Sessions, sessions and... sessions

2004-03-02 Thread Michal Migurski
I am a little desperate right now since I have tried to solve this problem for 3-4 days now. I have developed a site that uses sessions for user authentication and data storage between page access. The development server is Apache1.3.24/MySQL4.1.0/PHP4.3.3/Win XP Pro The release server is

[PHP] Re: Cookie Problems (Different than the post by David Jackson)

2004-03-02 Thread Puiu Hrenciuc
I bet you have some session management functions in include('lib/sessionfunc.php'); something like session_start() that also sends out header informations, but you can't send any headers AFTER you have started the output for eg: ? some cookies/session/header code1 ? Some HTML output

[PHP] numeric characters

2004-03-02 Thread Dominique ANOKRE
Is there a way with php to force the user to put only numeric character in a text field ? thanks

[PHP] Re: Sessions, sessions and... sessions

2004-03-02 Thread Puiu Hrenciuc
I have make a workaround for my problem using MySQL for session storage and not using the PHP generated SIDs, but using some SID generated with something like this : $tsid=$_SERVER['HTTP_USER_AGENT'].'|'.$_SERVER['REMOTE_ADDR'].'|'; $tsid=md5(md5($tsid)); session_id($tsid);

Re: [PHP] numeric characters

2004-03-02 Thread Richard Davey
Hello Dominique, Tuesday, March 2, 2004, 6:31:00 PM, you wrote: DA Is there a way with php to force the user to put only numeric character in a text field ? No, because that's a client-side thing. You can however use the PHP function is_numeric() to check the data once it has been entered to

[PHP] Re: numeric characters

2004-03-02 Thread Ben Ramsey
If you wanted to force them to put in valid numeric characters, you would have to use JavaScript (client-side). However, if you wanted to verify the information from the server side, you could use is_numeric() to check whether the value is a number. http://www.php.net/is-numeric Dominique

Re: [PHP] numeric characters

2004-03-02 Thread Daniel Clark
Or you can us client side JavaScripting. Hello Dominique, Tuesday, March 2, 2004, 6:31:00 PM, you wrote: DA Is there a way with php to force the user to put only numeric character in a text field ? No, because that's a client-side thing. You can however use the PHP function is_numeric()

[PHP] Session and Cookie issue

2004-03-02 Thread Hardik Doshi
Hi Group, I am using the session handling functions throughout my site. The problem is when i start a session (session_start()), a cookie is automatically generated on the local machine (PHPSESSID). So for example if someone has turned off the cookie option in his browser then he can't log-in to

[PHP] why use safe mode?

2004-03-02 Thread Chris
Why do hosting providers (or anyone for that matter) choose to run PHP with safe mode enabled? I've had problems running some of my scripts when safe mode is enabled, so now I am seeking a new hosting service because the one I'm with claims they cannot turn safe mode off for one account. I have

[PHP] sessions timeout

2004-03-02 Thread André Ventura Lemos
Hi list :-) I'm using sessions to manage users, by using cookies to store the session. My question is, how do I make the session last _forever_? ATM the session lasts 'till the user closes the browser. Thanks -- I/O, I/O, It's off to disk I go, A bit or byte to read or write, I/O, I/O,

[PHP] resubmitting $POST data to another script

2004-03-02 Thread Charlie Fiskeaux II
I'm creating a form with 170 fields, and I'd like to create an intermediary page so the user can review their info before submitting it again to the emailing script. Since the form has so much data, I was hoping I could just take the entire $POST array and pass it to the emailing script like

RE: [PHP] resubmitting $POST data to another script

2004-03-02 Thread Jay Blanchard
[snip] I'm creating a form with 170 fields, and I'd like to create an intermediary page so the user can review their info before submitting it again to the emailing script. [/snip] When you create the view page store all of the passed variables in hidden form fields. That way they can then be

Re: [PHP] resubmitting $POST data to another script

2004-03-02 Thread André Ventura Lemos
I had a similar problem, but with much lesser fields, so I passed the $_POST to $_SESSION, but I guess there's a more practical way to do this, or so I hope. Having said this, I'm also interested in an answear :-) On Tue, 2004-03-02 at 20:54, Charlie Fiskeaux II wrote: I'm creating a form with

RE: [PHP] resubmitting $POST data to another script

2004-03-02 Thread André Ventura Lemos
I already tried that, but had problems with ' ' . On Tue, 2004-03-02 at 21:05, Jay Blanchard wrote: [snip] I'm creating a form with 170 fields, and I'd like to create an intermediary page so the user can review their info before submitting it again to the emailing script. [/snip] When

Re: [PHP] resubmitting $POST data to another script

2004-03-02 Thread Charlie Fiskeaux II
Jay Blanchard wrote: When you create the view page store all of the passed variables in hidden form fields. That way they can then be submitted on to the next script. I could do it that way, but I was hoping for a way of just passing all the data at once; Since there's 170 fields, that's a lot

RE: [PHP] resubmitting $POST data to another script

2004-03-02 Thread Matt Matijevich
snip I already tried that, but had problems with ' ' . /snip Did you try the htmlentities function? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] resubmitting $POST data to another script

2004-03-02 Thread Marek Kilimajer
serialize(), unserialize(), watch out for escaped quotes, you propably need to stripslashes() before unserialize(), then addslashes on each variable. Charlie Fiskeaux II wrote: I'm creating a form with 170 fields, and I'd like to create an intermediary page so the user can review their info

RE: [PHP] resubmitting $POST data to another script

2004-03-02 Thread André Ventura Lemos
No.. o_O I'll look into that, thanks On Tue, 2004-03-02 at 21:09, Matt Matijevich wrote: snip I already tried that, but had problems with ' ' . /snip Did you try the htmlentities function? -- I/O, I/O, It's off to disk I go, A bit or byte to read or write, I/O, I/O, I/O...

Re: [PHP] resubmitting $POST data to another script

2004-03-02 Thread Daniel Clark
That would be a great function, but I haven't heard of anything like that. I'm creating a form with 170 fields, and I'd like to create an intermediary page so the user can review their info before submitting it again to the emailing script. Since the form has so much data, I was hoping I

Re: [PHP] Session and Cookie issue

2004-03-02 Thread Chris Shiflett
--- Hardik Doshi [EMAIL PROTECTED] wrote: The problem is when i start a session (session_start()), a cookie is automatically generated on the local machine (PHPSESSID). This is expected and normal. If it is really a problem for you, you should probably explain why. So for example if someone

Re: [PHP] resubmitting $POST data to another script

2004-03-02 Thread Chris Shiflett
--- Charlie Fiskeaux II [EMAIL PROTECTED] wrote: Jay Blanchard wrote: When you create the view page store all of the passed variables in hidden form fields. That way they can then be submitted on to the next script. I could do it that way, but I was hoping for a way of just passing

Re: [PHP] resubmitting $POST data to another script

2004-03-02 Thread Daniel Clark
You could loop throught the $_POST[] data and create 170 hidden fields with about 3 lines. When you create the view page store all of the passed variables in hidden form fields. That way they can then be submitted on to the next script. I could do it that way, but I was hoping for a way of

[PHP] strip html

2004-03-02 Thread John Taylor-Johnston
Is there a function to strip html from a string? This function seems to stip out everything between the tags too, no? http://www.php.net/manual/en/function.strip-tags.php John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: strip html

2004-03-02 Thread John Taylor-Johnston
Scrap that. Sorry. My fault. Understood. :) J John Taylor-Johnston wrote: Is there a function to strip html from a string? This function seems to stip out everything between the tags too, no? http://www.php.net/manual/en/function.strip-tags.php John -- PHP General Mailing List

Re: [PHP] Session and Cookie issue

2004-03-02 Thread Hardik Doshi
The problem is when i start a session (session_start()), a cookie is automatically generated on the local machine (PHPSESSID). This is expected and normal. If it is really a problem for you, you should probably explain why. I have selected Disable cookie option in the safari browser

  1   2   >