[PHP] Problem with array variables in forms

2003-02-18 Thread Chris Pudney
G'day, Our web-host just upgraded to PHP v4.2.3 (from v4.1.2) and broke all of our forms that use array variables. It appears that when the URL contains square brackets (i.e. %5B and %5D instead of [ and ]) then PHP doesn't parse the variables correctly. For example,

Re: [PHP] Array not working

2003-02-18 Thread Ernest E Vogelsinger
At 08:45 18.02.2003, Chris Blake said: [snip] // THIS IS LINE 27 //print them out to page echo $row['ClientID'].['ClientName'].['Distance']. 'hr'; [snip] Try echo

Re: [PHP] [Fwd: [PHP-DOC] Urgent....plz]

2003-02-18 Thread Ernest E Vogelsinger
At 08:54 18.02.2003, [EMAIL PROTECTED] said: [snip] trying to provide the new solutions to our customer by using the PHP and MySql.So there are few questions I would like to ask about PHP. Upfront - PHP is a programming language, not a ready-to-use

Re: [PHP] Text data truncated after first blank character in form fields

2003-02-18 Thread rentAweek support
Errnest Thanks. I used htlmentities and still have the truncation. Mike --- Ernest E Vogelsinger wrote: At 22:04 17.02.2003, Michael Eacott said: [snip] When I have the following in a form: ?php $testvar = a b c; ? input type=text size=20

Re: [PHP] Text data truncated after first blank character in form fields

2003-02-18 Thread rentAweek support
Kevin I tried flushing and also IE 6 and Netscape 6.2. Still getting truncation. Mike --- Kevin Stone wrote: Hmm. Don't know what to tell ya. It works on my computer. Have you tried pressing CTRL+F5 to flush your browser cache? - Kevin - Original Message - From: rentAweek

[PHP] diksha's problem

2003-02-18 Thread DIKSHA NEEL
hi everybody, i am a b.tech final year student and as a part of the requirement of the degree, i have to do a software project. the project that i am doing is E-SHOPPING PORTAL DEVELOPMENT and it uses php. i have started learning php 10 days back. today i have the following problem: i have a

[PHP] inserting BR

2003-02-18 Thread Michael P. Carel
hi to all, I'm having problem posting messages that have paragraph. It's doesnt appear to have one when being viewd in the page? Any idea on how to post this properly without manually inserting a BR tags in the text box before it is being store in the database. Thanks in advance. mike --

[PHP] $_SESSIONS and printing off..

2003-02-18 Thread Frank Keessen
Hi All, I'm a little bit confused and it's maybe a newbie question but maybe you can help me out; A user is login in and after username password check it will redirects to this page ?php session_start(); if (isset($_SESSION['username'])){ $username = $_SESSION['username']; echo 'Welcome, you

Re: [PHP] inserting BR

2003-02-18 Thread Kevin Waterson
This one time, at band camp, Michael P. Carel [EMAIL PROTECTED] wrote: hi to all, I'm having problem posting messages that have paragraph. It's doesnt appear to have one when being viewd in the page? Any idea on how to post this properly without manually inserting a BR tags in the text

Re: [PHP] Text data truncated after first blank character in form fields

2003-02-18 Thread Ernest E Vogelsinger
At 09:27 18.02.2003, rentAweek support said: [snip] Errnest Thanks. I used htlmentities and still have the truncation. [snip] Have a look at the HTML source the server transmits. -- O Ernest E.

Re: [PHP] inserting BR

2003-02-18 Thread Ernest E Vogelsinger
At 09:36 18.02.2003, Michael P. Carel said: [snip] I'm having problem posting messages that have paragraph. It's doesnt appear to have one when being viewd in the page? Any idea on how to post this properly without manually inserting a BR tags in the text

[PHP] Re: safe mode

2003-02-18 Thread Nenad Djordjevic
Hello Wilbert, I had same problem and I do not have good news for you. Problem is caused by different owner of script file and file (or folder) which need to be manipulated by this script file. To change owner from script (chown) you must have `root` privilege. I download files which have

RE: [PHP] $_SESSIONS and printing off..

2003-02-18 Thread Rich Gray
Er... well I've seen a lot worse code than that but maybe you could use ... if (isset($_SESSION['username']) !empty($_SESSION['username'])) { echo 'Welcome '.$_SESSION['username'].', you are still logged in.'; } else { header... etc etc } Rich -Original Message- From:

[PHP] What are the functions to copy a directory structure then rename?

2003-02-18 Thread Rea_David
Hi all, I want to copy an already existing directory structure with generic files then rename it while keeping it's permissions, but I was unable to find a suitable function in the manual to carry out this operation. Can anyone help me with this please. Thank you Dave -- PHP General

[PHP] is http://username:password@localhost.com/secure_area/ secure ?

2003-02-18 Thread Shams
Hi, I have a PHP login scripts that takes the username and password and stores it in a session. Once verified as a valid user against a mySQL database, the user is redirected to a members area ( /secure_area ), using: http://username:[EMAIL PROTECTED]/secure_area/ This is so that .htaccess

php-general Digest 18 Feb 2003 11:24:19 -0000 Issue 1890

2003-02-18 Thread php-general-digest-help
php-general Digest 18 Feb 2003 11:24:19 - Issue 1890 Topics (messages 135917 through 135978): Re: Protecting files 135917 by: Luke Woollard 135918 by: Bryan Lipscy 135919 by: Bryan Lipscy 135920 by: Luke Woollard 135921 by: Ray Hunter 135927

[PHP] opening a file from internet explorer

2003-02-18 Thread DIKSHA NEEL
hi all, i have a problem: i am opening and reading and writing a file through php page. $fp = fopen(\bdoi_change\andar.html, w); fwrite($fp, htmlheadtitlediksha/title/headbodyh1i solved problem!/body/html); but when i try to open \bdoi_change\andar.html through internet explorer, i am

[PHP] Preserving field values between pages/tags

2003-02-18 Thread news
Hi, I'm building a form page that has 3 tags for different types of fields (i.e. Personal details, location details, other). I want to preserve the values of the filled in fields as the user moves from section/tag to section/tag. I've tried making each tag a separate page and use the URL to pass

RE: [PHP] PHP 5

2003-02-18 Thread Brad Young
Your best bet is to view the recorded on-line seminars that Zeev Suraski gave on this subject. Go to: http://www.zend.com/iseminar.php View these ones: The Future of PHP and the Zend Engine 2 The Future of PHP and the Zend Engine 2 - Part 2 Examples and tutorials Brad

[PHP] Is this an unique user name???

2003-02-18 Thread Alex Davis
Ok... I am trying to have this registration page search a table in a db to find out if the user name supplied is unique. Here is the syntax that I used but it does not seem to work: ? . $var_UserName = addslashes($_POST['User_Name']); . $query = SELECT * FROM company_info WHERE

Re: [PHP] Is this an unique user name???

2003-02-18 Thread Yuniar Setiawan
Ok... I am trying to have this registration page search a table in a db to find out if the user name supplied is unique. Here is the syntax that I used but it does not seem to work: ? . $var_UserName = addslashes($_POST['User_Name']); . $query = SELECT * FROM

Re: [PHP] $_SESSIONS and printing off..

2003-02-18 Thread Frank Keessen
Thanks, But then another question; if (isset($_SESSION['username']) !empty($_SESSION['username'])) { echo 'Welcome '.$_SESSION['username'].', you are still logged in.'; I want also checked if the level of authentication = 2; for example User Frank = level 1 User Rich = level 2 I've set

RE: [PHP] $_SESSIONS and printing off..

2003-02-18 Thread Rich Gray
Um... how about... echo 'Welcome '.$_SESSION['username'].', you are still logged in and your authentication level is '.(isset($_SESSION['level']) ? $_SESSION['level'] : 'unknown'); Or am I missing something here? Rich -Original Message- From: Frank Keessen [mailto:[EMAIL PROTECTED]]

[PHP] compiling php with -DEAPI

2003-02-18 Thread Vitaly
i had compiled php php-4.3.0 for apache. When i start apache: httpd: [Tue Feb 18 15:13:49 2003] [warn] Loaded DSO /usr/libexec/libphp4.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) as wrote i had recompiled php: CFLAGS='-DEAPI' configure

Re: [PHP] $_SESSIONS and printing off..

2003-02-18 Thread Frank Keessen
Uh, sorry for the bad explanation Rich.. Again; ?php session_start(); if (isset($_SESSION['username']) !empty($_SESSION['username'])){ echo 'Welcome '.$_SESSION['username'].', you are still logged in.'; echo $_SESSION['woonplaats']; } else{ header ( Location: login.htm ); } ? This is working

Re: [PHP] ishttp://username:password@localhost.com/secure_area/ secure ?

2003-02-18 Thread Justin French
First things first, ANYTHING you do without https:// (SSL) is insecure. Anything you do with SSL is more secure, not secure. Which answers 90% or your questions. If you are stuck with the username:password@ in the URL, my guess is you could get your current URL, use parse_url to check if it has

Re: [PHP] $_SESSIONS and printing off..

2003-02-18 Thread Ernest E Vogelsinger
At 13:33 18.02.2003, Frank Keessen said: [snip] This is working fine. But i've set $_SESSION['level'] to value 2 (that's done in the php file that calls this one). Now i want the above code to check for the level and if is not equal to two than go to the

[PHP] How can you execute UNIX scripts from PHP

2003-02-18 Thread Rea_David
Hi everyone, How can you execute UNIX scripts from PHP. If somebody could let me know it would be great. Thanks Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP fileperms is not working

2003-02-18 Thread DIKSHA NEEL
hi all, the file permission command is not working. any idea why? $filename = '\bdoi_change\andar.html'; printf(%0,(fileperms(\bdoi_change\andar.html) 0777)); diksha. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can you execute UNIX scripts from PHP

2003-02-18 Thread Kevin Waterson
This one time, at band camp, [EMAIL PROTECTED] wrote: Hi everyone, How can you execute UNIX scripts from PHP. If somebody could let me know it would be great. if you have a shell script called blah.sh $script = 'blah.sh'; exec($script); system($script); // my favourite or if you

Re: [PHP] PHP fileperms is not working

2003-02-18 Thread Ernest E Vogelsinger
At 13:59 18.02.2003, DIKSHA NEEL said: [snip] hi all, the file permission command is not working. any idea why? $filename = '\bdoi_change\andar.html'; printf(%0,(fileperms(\bdoi_change\andar.html) 0777)); [snip]

[PHP] why won't this work?

2003-02-18 Thread Edward Peloke
Why won't this work? I have a form that people enter in a time to volunteer, when the submit it, I call the same page and want the time to then show on the page but I have to refresh it to see the time and sometimes it just doesn't show up. It is like the page loads before all the sql statements

[PHP] refreshing scripts a problem

2003-02-18 Thread Doug Parker
I'm having trouble with my php scripts running on my local machine. I'm running winXP, apache, and for the most part, everything runs ok. But sometimes the scripts will refresh rapidly for a few seconds, and then give up - This page cannot be displayed. It seems to happen more often when

[PHP] internal site search

2003-02-18 Thread rehab mostafa
hi guys, i wanna make an internal site search, i wanna search my internal html pages and php pages..and i have no clue how to do thatany help!!! Thx _ Add photos to your e-mail with MSN 8. Get 2 months FREE*.

[PHP] script to check if server is up

2003-02-18 Thread Petre Agenbag
Hi I have two servers on two different networks. I would like to implement some sort of a watchdog application between the two to inform me should either of the machines go down or has a connection problem. I was thinking along the line of using a PHP script running from cron on an hourly basis to

RE: [PHP] internal site search

2003-02-18 Thread James E Hicks III
Great news, there is a new tool on the internet called a search engine. What you do is enter a search topic, press enter, and all kinds of links with articles related to your search are returned. Some say this might signal an end to mailing lists, which have been historically used to get answers

Re: [PHP] why won't this work?

2003-02-18 Thread Rick Emery
I did a View-Source on the generated code and got this for the Friday Feb 28 entry: table width='95%' tr bgColor=#99td center font face='arial' size='3' color='ff'Friday February 28th 8 AM to Noon /td/tr

[PHP] Re: internal site search

2003-02-18 Thread Vladimir Galkov
Windows? Linux? Rehab Mostafa [EMAIL PROTECTED] ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hi guys, i wanna make an internal site search, i wanna search my internal html pages and php pages..and i have no clue how to do thatany help!!! --

[PHP] VC++ with PHP

2003-02-18 Thread Christine Gonzalez
Does anyone know how to start a PHP application through Visual C++ or C++, I can start it from Javascript, but now I need to start it from either Visual C++ or C++, or I could possibly use Java Thanks Christine -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] internal site search

2003-02-18 Thread David Otton
On Tue, 18 Feb 2003 13:35:14 +, you wrote: i wanna make an internal site search, i wanna search my internal html pages and php pages..and i have no clue how to do thatany help!!! Choices 1. Embed a Google search that only searches within your site. Eg

Re: [PHP] script to check if server is up

2003-02-18 Thread Jason Sheets
Hi Pete, You could use PHP's command line execution programs to execute the ping command, then either check the output or check the return status of ping, if you do this make sure you pass ping some parameters that will limit the timeout and retries otherwise your PHP script may hang waiting

Re: [PHP] Protecting files

2003-02-18 Thread Jason Sheets
If the script is readable by the web server (which it must be in order to be parsed) and the web server only runs as one user (which it usually does) then your scripts will be readable by other users on the same server and anyone with command line or telnet/ssh access will have at least read-only

Re: [PHP] internal site search

2003-02-18 Thread Jason Sheets
I've found Mnogosearch to be very powerful, fast, and relatively easy to setup, of course I was not in a shared hosting environment. Jason On Tue, 2003-02-18 at 07:19, David Otton wrote: On Tue, 18 Feb 2003 13:35:14 +, you wrote: i wanna make an internal site search, i wanna search

RE: [PHP] How can you execute UNIX scripts from PHP

2003-02-18 Thread Rea_David
Hi Kevin, Thanks very much for your reply, but I'm having no luck with it. In the test that I'm doing, I'm using the same code as you provided. It's on a Solaris system the permissions ownership of the shell script is correct. The shell script is also located in the same directory as

Re: [PHP] internal site search

2003-02-18 Thread David Otton
On Tue, 18 Feb 2003 14:19:16 +, you wrote: On Tue, 18 Feb 2003 13:35:14 +, you wrote: i wanna make an internal site search, i wanna search my internal html pages and php pages..and i have no clue how to do thatany help!!! Choices 1. Embed a Google search that only searches

Re: [PHP] Problem with array variables in forms

2003-02-18 Thread Chris Pudney
G'day, It appears that when the URL contains square brackets (i.e. %5B and %5D instead of [ and ]) then PHP doesn't parse the variables correctly. For example, http://www.offloadonline.com/test.php?personal[name]=johnpersonal[email]=john%40blah.com works (you might need to paste the URL

[PHP] Help with authentication 'design'

2003-02-18 Thread Clarkson, Nick
Hi, I've searched the archives, bit it's not helping me much purely because it's not specific PHP code I'm after, but rather help with a login system design. So far I've got a PHP_AUTH based login which checks against a MySQL database, and if the user's details are correct it updates the

RE: [PHP] How can you execute UNIX scripts from PHP

2003-02-18 Thread Rea_David
My mistake Kevin, I did not put the full path of the shell script into the $script variable. Thanks very much for your help Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 14:21 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP]

RE: [PHP] Help with authentication 'design'

2003-02-18 Thread Clarkson, Nick
Oops, just remembered something else; are PHP_AUTH_USER and PHP_AUTH_PW handled at the client side or sent in clear text back to the server for processing ? Basically what I'm doing is once they are set is doing a select from a database like so; $result=mysql_query(SELECT * FROM users WHERE

RE: [PHP] Help with authentication 'design'

2003-02-18 Thread Peter Hicks
Nick, md5 is a hashing function, not an encryption function. You need anti-replay if you want the password transfer to be secure On Tue, 18 Feb 2003, Clarkson, Nick wrote: Would this pass both variables in clear text back to the server ? If so would it be better to do this; [cut] Would

[PHP] Sessions and IP ports

2003-02-18 Thread Gerard Samuel
Has anyone noticed that different port numbers creates additional session ids? So if someone is browsing the site, and the remote port number changes, additional sessions are created... Is this the expected behaviour??? www.xxx.yyy.zz,3941 www.xxx.yyy.zz,3940 -- Gerard Samuel

RE: [PHP] Help with authentication 'design'

2003-02-18 Thread Clarkson, Nick
Hi, Could you be more specific ? I thought md5 was a one-way hash, so you couldn't get back to the original string, so was secure. Do you mean anti-replay as in IPSEC anti-replay ? If so how do I build the equivalent in PHP ? I know very little about hashing, encryption etc. so any info would be

RE: [PHP] internal site search

2003-02-18 Thread Tim Fletcher
hi, if you can use Perl scripting in your site, have a look at this script http://www.fluffy.co.uk/fs/ it will not be of any help for the php pages , but will be fine for the html. HTH t. -Message d'origine- De : David Otton [mailto:[EMAIL PROTECTED]] Envoye : mardi 18 fevrier 2003

[PHP] function getting redeclared

2003-02-18 Thread Erik Price
Hi, I have a problem where I am getting the following error, and I was wondering if anyone has seen this one before and can help me out. Fatal error: Cannot redeclare isvalidphonenumber() (previously declared in /home/bluekomo/public_html//classes/Registrant.class:360) in

Re: [PHP] File upload problem

2003-02-18 Thread Manuel Ochoa
There may be several reasons why it doesn't work but the first thing I noticed is that action is blank. You need to have this defined. John M [EMAIL PROTECTED] wrote:Hello, I have the code below. It's a simple file upload. But it doesn't work. Before the line if(isset( $Submit )) is an echo

Re: [PHP] Help with authentication 'design'

2003-02-18 Thread Brad Pauly
I've searched the archives, bit it's not helping me much purely because it's not specific PHP code I'm after, but rather help with a login system design. So far I've got a PHP_AUTH based login which checks against a MySQL database, and if the user's details are correct it updates the database

[PHP] php.ini for UNIX sendmail????

2003-02-18 Thread Scott Fletcher
Hi! What is the appropriate filepath with the flag command for the sendmail on the UNIX machine?? I send an email to yahoo and got the error message which I'm going to paste it here... --clip-- - The following addresses had permanent fatal errors - [EMAIL PROTECTED] --- The

Re: [PHP] php.ini for UNIX sendmail????

2003-02-18 Thread Adam Voigt
Umm, are you asking for Sendmail's path? It's usually /usr/bin/sendmail -t -i but you can verify where it is on your system by typing where sendmail. On Tue, 2003-02-18 at 10:25, Scott Fletcher wrote: Hi! What is the appropriate filepath with the flag command

RE: [PHP] function getting redeclared

2003-02-18 Thread Ford, Mike [LSS]
-Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 15:14 I have a script, registration.php, which calls require_once on the Registrant.class file mentioned in the above error message. The Registrant::setPhone() method is called more than once.

Re: [PHP] php.ini for UNIX sendmail????

2003-02-18 Thread Scott Fletcher
Here's is the response to the command, 'where sendmail'. bash: where: command not found So, I don't have a where command but I did the phpinfo() and it showed . --clip-- Directive || Local Value || master value

Re: [PHP] php.ini for UNIX sendmail????

2003-02-18 Thread Adam Voigt
Oh, ok, well how about your PHP code then (the actual mail() line)? On Tue, 2003-02-18 at 10:34, Scott Fletcher wrote: Here's is the response to the command, 'where sendmail'. bash: where: command not found So, I don't have a where command but I did the

[PHP] ankord php text editor

2003-02-18 Thread Edward Peloke
anyone use the php expert editor from Ankord? If so, what do you think? Thanks, Eddie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php.ini for UNIX sendmail????

2003-02-18 Thread Scott Fletcher
Here's the command... --clip-- mail([EMAIL PROTECTED], the subject, $message, From: webmaster@$SERVER_NAME\r\n .Return-Path: [EMAIL PROTECTED] .Reply-To: webmaster@$SERVER_NAME\r\n .X-Mailer: PHP/ . phpversion()); --clip-- The bad thing is that when I send the mail. I never get an email back

Re: [PHP] php.ini for UNIX sendmail????

2003-02-18 Thread Adam Voigt
Well your missing your \r\n at the end of your return path. On Tue, 2003-02-18 at 10:57, Scott Fletcher wrote: Here's the command... --clip-- mail([EMAIL PROTECTED], the subject, $message, From: webmaster@$SERVER_NAME\r\n .Return-Path:

RE: [PHP] Re: recursion?????

2003-02-18 Thread Johnson, Kirk
% The benefit of checking in javascript(which I suspect is enabled in most Not me! Not me! Not me! It is by no means ubiquitous. Anyone who even moderately considers security will have it turned off. The latest survey I've seen indicates that about 11% of browsers have JS

Re: [PHP] php.ini for UNIX sendmail????

2003-02-18 Thread Scott Fletcher
Well, okay, even with the '\r\n' path, I still have problem. Here's the new script and I retested it. --clip-- $message = This is a test; mail([EMAIL PROTECTED], the subject, $message, From: webmaster@$SERVER_NAME\r\n .Return-Path: [EMAIL PROTECTED]\r\n .Reply-To:

[PHP] Set Current Array Pointer

2003-02-18 Thread Sascha Braun
Hi Folks, is it possible to set the pointer of an array to a specific key or value of the array, so i can write an array navi- gation script? Maybe there is a way to use pos() to set it to a specific place in the array, but i dont know how. Please help me. Sascha -- PHP General Mailing List

RE: [PHP] register_globals On

2003-02-18 Thread Johnson, Kirk
I'm thinking of running a shopping cart package (osCommerce) that requires register_globals to be enabled. With all the warnings about security with register_globals enabled I'm worried. How dangerous is it? The key defensive step is to initialize all of your session variables at the

Re: [PHP] Set Current Array Pointer

2003-02-18 Thread Chris Boget
is it possible to set the pointer of an array to a specific key or value of the array, so i can write an array navi- gation script? Maybe there is a way to use pos() to set it to a specific place in the array, but i dont know how. Well, you can always access the array elements using a

Re: [PHP] function getting redeclared

2003-02-18 Thread Erik Price
On Tuesday, February 18, 2003, at 10:27 AM, Ford, Mike [LSS] wrote: I have a script, registration.php, which calls require_once on the Registrant.class file mentioned in the above error message. The Registrant::setPhone() method is called more than once. Since it is called more than once,

Re: [PHP] ankord php text editor

2003-02-18 Thread Awlad Hussain
Tell us what the url of Ankord is. I use HtmlKit (http://www.htmlkit.com) its the best FREE editor available out there. :) -awlad - Original Message - From: Edward Peloke [EMAIL PROTECTED] To: Php-General@Lists. Php. Net [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 3:46 PM

Re: [PHP] Re: recursion?????

2003-02-18 Thread Erik Price
On Tuesday, February 18, 2003, at 10:58 AM, Johnson, Kirk wrote: The latest survey I've seen indicates that about 11% of browsers have JS disabled. About the same percent have cookies disabled. Too many for my tastes. Probably 8% of browsers have JS and cookies disabled for a reason

[PHP] php.ini question.....

2003-02-18 Thread James Hatridge
HI all... At last I got safe-mode turned off (Gott sei dank!). But I'm still having a problem. I can only read Mysql DBs. I can not open a DB to update. All I can see is that there must be something wrong with either the way I complied PHP or the php.ini file. When I complied PHP I used

[PHP] MySQL DB Schema

2003-02-18 Thread Phillip S. Baker
Greetings all, Is there an easy way to pull out the schema of a MySQL for viewing?? Thanks Phillip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php.ini question.....

2003-02-18 Thread David Otton
On Tue, 18 Feb 2003 17:38:28 +0100, you wrote: At last I got safe-mode turned off (Gott sei dank!). But I'm still having a problem. I can only read Mysql DBs. I can not open a DB to update. You have to connect to MySQL with a username and password. First check that the user you're connecting

Re: [PHP] Re: recursion?????

2003-02-18 Thread David T-G
Kirk -- ...and then Johnson, Kirk said... % [quoting me] % % Not me! Not me! Not me! % % It is by no means ubiquitous. Anyone who even moderately considers % security will have it turned off. % % The latest survey I've seen indicates that about 11% of browsers have JS % disabled.

Re: [PHP] php.ini for UNIX sendmail????

2003-02-18 Thread Scott Fletcher
Found the solution to the problem, Take a look at this at http://forums.devshed.com/archive/5/2002/09/4/43013 .. Very useful. Adam Voigt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Well your missing your \r\n at the end of your return path. On

Re: [PHP] MySQL DB Schema

2003-02-18 Thread David Otton
On Tue, 18 Feb 2003 09:23:52 -0800, you wrote: Greetings all, Is there an easy way to pull out the schema of a MySQL for viewing?? You want the tables and the relationships between them? Not easy to get the links because of the lack of foreign keys in MySQL. If you want a table, DESC

Re: [PHP] inserting BR

2003-02-18 Thread Chris Knipe
I believe you are looking for pre/pre. I may be mistaken though. -- me - Original Message - From: Michael P. Carel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 10:36 AM Subject: [PHP] inserting BR hi to all, I'm having problem posting messages that have

Re: [PHP] MySQL DB Schema

2003-02-18 Thread Erik Price
On Tuesday, February 18, 2003, at 12:23 PM, Phillip S. Baker wrote: Is there an easy way to pull out the schema of a MySQL for viewing?? If you have access to the command line (either directly or via the system() function), try this: bash 2.05 $ mysqldump -t databasename --user=username

RE: [PHP] File upload problem

2003-02-18 Thread Chris McCluskey
Try if(isset($_REQUEST[Submit])) If that doesn't work, perhaps you could just diagnose this by print_r'ing the variables you are getting from the form: (at the very top of your code, put): die(print_r($_REQUEST)); -Chris -Original Message- From: Manuel Ochoa [mailto:[EMAIL

Re: [PHP] MySQL DB Schema

2003-02-18 Thread Erik Price
On Tuesday, February 18, 2003, at 12:39 PM, David Otton wrote: You want the tables and the relationships between them? Not easy to get the links because of the lack of foreign keys in MySQL. You can add a comment to your table with the COMMENT modifier, which gives you 60 characters to

[PHP] highlight_string for VB, CPP or .NET source code?

2003-02-18 Thread stefen Lars
Hello all PHP offers the fantastic function ‘highlight_string’ to highlight PHP source code. I was wondering whether anyone had written a function to highlight Visual Basic, CPP or .NET source code. Alternatively, would anyone have any suggestions on how to write such a function. Ideally,

[PHP] escaping quotes for redisplay

2003-02-18 Thread Erik Price
Hi, I am running into a problem, that I'm certain I've had before but for some reason don't remember how to handle. If anyone can advise me on what to do here, that would be great. I have a PHP script that accepts some user input and validates it, and if the validation fails, it re-displays

RE: [PHP] ankord php text editor

2003-02-18 Thread Edward Peloke
www.ankord.com -Original Message- From: Awlad Hussain [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 11:38 AM To: Php-General@Lists. Php. Net Subject: Re: [PHP] ankord php text editor Tell us what the url of Ankord is. I use HtmlKit (http://www.htmlkit.com) its the best

Re: [PHP] escaping quotes for redisplay

2003-02-18 Thread David Otton
On Tue, 18 Feb 2003 13:10:33 -0500, you wrote: input type='text' name='publisher' value='O'Reilly' / input type=text name=blah value=aaquot;aa -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem with sessions

2003-02-18 Thread Sidar Lopez Cruz
I have RedHat 8, Apache 2, PHP 4.2.2 My problem is with sessions, 1. page -index.html- html body form name=frmlogin method=post action=login.php input type=text name=txtlogin input type=text name=txtpassword input type=submit name=Click /form /body /html 2. page -login.php- ?php

[PHP] application security

2003-02-18 Thread Brad Pauly
Hey Everyone, There have been a couple of threads lately about application security. A while ago I wrote a short article that digs into this a bit and explores one way of increasing security. I cleaned it up this morning and put it up on my site if anyone is interested.

Re: [PHP] I have a problem with MsSQL

2003-02-18 Thread role . php-general
Jimmy, In response to your mail of Monday 17 February 2003 at 18:54:02: JH My problem is the characters in spanish: JH example: JH Construcción (Data of MsSQL Server) JH Result in web with PHP: JH Construcci¢n Are you aware of HTML codes like the following - some are the common ones

Re[2]: [PHP] FTP not enabled in RedHat 7.x distro

2003-02-18 Thread role . php-general
Martin, In response to your mail of Monday 17 February 2003 at 18:10:31: MM Use phpinfo() to know how your PHP was compiled. If it comes as a MM module, you should see a --enable-feature=shared. Don't know it MM ftp support can be compiled as shared, but Indeed - I think the doc's maybe (!)

Re[4]: [PHP] FTP not enabled in RedHat 7.x distro

2003-02-18 Thread role . php-general
Martin, In response to your mail of Monday 17 February 2003 at 18:27:05: MM My RH 7.3 php (distributed by RH) has --enable-ftp, so it was MM compiled with the ftp support. MM Check yor sintax. Could have a typo somewhere. Very weird - I thought RedHat would have enabled it too. I did

[PHP] Re: php.ini question.....

2003-02-18 Thread James Hatridge
HI All On Tuesday 18 February 2003 18:32, David Otton wrote: On Tue, 18 Feb 2003 17:38:28 +0100, you wrote: At last I got safe-mode turned off (Gott sei dank!). But I'm still having a problem. I can only read Mysql DBs. I can not open a DB to update. You have to connect to MySQL with a

[PHP] Wrong version displayed after upgrading to php-4.2.3

2003-02-18 Thread PathFinder Software
Hi, I upgraded PHP from 4.0.3pl1 to php-4.2.3 on my Apache/1.3.14 using 'apxs' and I did not received any errors during the configure and make. The installation seems to have gone just fine. However, when I load a phpinfo.php document I get the 4.0.3pl1 version displayed??? What can be wrong

Re: [PHP] Problem with sessions

2003-02-18 Thread Larry E. Ullman
This work very well, but when i open twice mozilla browsers and login with diferent users, i always keep the same session id, and sessions vars for two browsers... i don't know how to resolve this problem... Use two different browsers, for example, both Mozilla and Netscape. The session cookie

Re: [PHP] Wrong version displayed after upgrading to php-4.2.3

2003-02-18 Thread Larry E. Ullman
I upgraded PHP from 4.0.3pl1 to php-4.2.3 on my Apache/1.3.14 using 'apxs' and I did not received any errors during the configure and make. The installation seems to have gone just fine. However, when I load a phpinfo.php document I get the 4.0.3pl1 version displayed??? What can be wrong and

[PHP] running code on my machine wile serving other domain?

2003-02-18 Thread merlin
Hi there, I am wondering if I could anyhow run php code on my machine and pull the html code to another domain? Example: I do have a webapp where I do not want to give away the code to customers They want to have the same webapp, with the same database, but with their front end design Is

Re: [PHP] Wrong version displayed after upgrading to php-4.2.3

2003-02-18 Thread Jason k Larson
if you did a 'make install' and didn't receive any errors, then I'd suggest making sure you restarted the Apache daemon, if that still resolves to the older version, then check the paths to the /path/to/apache/libexec/libphp.so You can look at the date/time stamp of the file to determine if

[PHP] Using mail() function in php.ini (Unix/Linux)

2003-02-18 Thread Scott Fletcher
For those of you who don't know it or are struggling with the problem with the slow sending of hte e-mail behind the firewall. This problem doesn't alway lie with the DNS itself. The workaround to the problem is the hostname resolution or the alias to the hostname. Just open up the /etc/hosts

[PHP] Re: function getting redeclared

2003-02-18 Thread Greg Beaver
Hi Erik, You may want to re-investigate using nested functions for this purpose, it seems a bit illogical. The main reason is that it clutters up the source. If you want a private function, use docblock tag @access private to let other users know that it should not be accessed directly, or wait

[PHP] NULL character help

2003-02-18 Thread v0idnull
http://www.psikon.com/vartest.php http://www.psikon.com/vartest.phps how can I get rid of that null character or am I forced to use sub_str in this case? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >