RE: [PHP] php graphics generation

2001-10-01 Thread Maxim Maletsky \(PHPBeginner.com\)
Check out netcratf.com Their graphs are auto generated by (I think) PHP. Also you can use them a lot for many other kind of charts and stats graphs. Maxim Maletsky www.PHPBeginner.com -Original Message- From: Chip [mailto:[EMAIL PROTECTED]] Sent: lunedì 1 ottobre 2001 6.43 To:

RE: [PHP] php graphics generation

2001-10-01 Thread Maxim Maletsky \(PHPBeginner.com\)
netcraFT.com, sorry Maxim Maletsky www.PHPBeginner.com -Original Message- From: Maxim Maletsky (PHPBeginner.com) [mailto:[EMAIL PROTECTED]] Sent: lunedì 1 ottobre 2001 8.54 To: 'Chip'; [EMAIL PROTECTED] Subject: RE: [PHP] php graphics generation Check out netcratf.com Their

Re: [PHP] Re: Making variable global / accessing variable

2001-10-01 Thread Jason G.
You can see the below code in action at: http://www.ionzoft.com/code/testing/globals.php ? function CreateGlobals($td) { $td = foo; $td_error = $td . _error; $td_ok = $td . _ok; global $$td_error; global $$td_ok; $$td_error = 'Error

[PHP] Warning: Sybase message: Incorrect syntax near 't'.

2001-10-01 Thread Caleb Carvalho
Hi am trying to add data from html form, and it seems like the line 14 in my script, $sybase_query=INSERT into problem VALUES('$product','$pro_title','$description','$solution'); $sybase_result=sybase_query($sybase_query); Warning: Sybase message: Incorrect syntax near 't'. (severity 15) in

Re: [PHP] socket_get_status()

2001-10-01 Thread Mukul Sabharwal
Hi, Well I'm not totally sure, why socket_get_status would not give you the correct value, other than a bug, as the manual does indicate the socket functions are experimental. There are altenative ways to get the number of bytes in the buffer, like using ioctl with FIONREAD, ofcourse that is a

[PHP] Sybase Result Paging

2001-10-01 Thread Veniamin Goldin
Hi all ! Does anybody has a solution of paging result for Sybase + PHP ? Like Prev 1 2 3 4 5 Next Thanks. -- 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 administrators, e-mail:

[PHP] php and java problem

2001-10-01 Thread Nikola Veber
Hi ! I was able to determine the user's screen resolution, but I'd like to let php know that(the next page loaded should be in the right resolution, I'd like to pass a value to php, but I don't know how). Thanx Nikola -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] php and java problem

2001-10-01 Thread George Pitcher
Nikola, I'm not a javascript user and new to php too. Is it possible to form your javascript result into a 'hidden' form value. That could then be read by the next php page. HTH George - Original Message - From: Nikola Veber [EMAIL PROTECTED] To: php forum [EMAIL PROTECTED] Sent:

[PHP] Re: newbie: extracting lines from a text file w/ php

2001-10-01 Thread user
Hi. You should go on the forum php.db. Sc wrote: Hi; I am new to php and i need to extract specific lines of data from a plain text file and insert it into a sql db Can anyone give me some details on howto do this? or an example to read the specific line that i need? Thanks.

[PHP] php_admin_flag safe_mode off

2001-10-01 Thread Richard Kurth
Way will this Command not work in the httpd.conf file I have safe mode turned on in the php.ini file but I what it off in one of my sites so I added php_admin_flag safe_mode off to the virtualhost that I want it off in like below VirtualHost other stuff php_admin_flag safe_mode

[PHP] PHP Chat

2001-10-01 Thread Jordan Elver
Hi, Can anyone recommend a good, configurable php chat? I've tried phpMyChat which seems pretty good. Any ideas? Cheers, Jord -- Jordan Elver Web Developer The InternetOne UK Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Assistance Wanted Time:11:58:28 AM

2001-10-01 Thread php-general
FROM: MARIAM ABACHA Dear friend, Following the sudden death of my husband, Late General Sanni Abacha, the former head of state of the federal Republic of Nigeria in June 1998, I have been thrown into a state of utter confusion, frustration and hopelessness by the present civilian

RE: [PHP] word filter

2001-10-01 Thread Richard Heyes
There's a better way to do this: ? $naughty_words = array( 'poop', 'bum', 'religion' ); echo in_array($text, $naughty_words) ? found bad words! : text is clean!; ? This won't work, since you're trying to find the whole of $text in the array $naughty_words. -- Richard

Re: [PHP] Assistance Wanted Time:11:58:28 AM

2001-10-01 Thread Duncan Hill
On Mon, 1 Oct 2001 [EMAIL PROTECTED] wrote: FROM: MARIAM ABACHA Dear friend, *snicker* They aren't content with good old postal mail (my parents' company used to get these ALL the time!) - they've gone electronic! Wonder if I can create a killfile for that kind of mail. Wonder how many

[PHP] still learning php

2001-10-01 Thread Caleb Carvalho
I posted a msg earlier on regarding error when adding text with quotes ' .. I have just found out thar I need to use addslash() function, my q's is where do i put this function? Caleb Carvalho Application Engineer LoadRunner/APM

Re: [PHP] php and java problem

2001-10-01 Thread Alexander Deruwe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 30 September 2001 21:36, Nikola Veber wrote: Hi ! I was able to determine the user's screen resolution, but I'd like to let php know that(the next page loaded should be in the right resolution, I'd like to pass a value to php, but I

Re: [PHP] still learning php

2001-10-01 Thread Dimitris Kossikidis
$field_value = "I 'm bla bla"; $field_value = addslashes($field_value); $sql = "Insert into TABLE values('$field_value'); - Original Message - From: "Caleb Carvalho" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 01, 2001 2:05 PM Subject: [PHP] still learning php I

[PHP] Array Elements While Loops

2001-10-01 Thread Tom Churm
hi, my problem is this: i'm using a while loop to check elements in an Array for valid email syntax. if $User[0] is a valid email address but $User[1] is not, the code for $User[0] is still executed before the die statement. i need my loop to finish checking ALL array elements for validity,

RE: [PHP] Copying file to a network drive (in WinNT4)

2001-10-01 Thread joakim . andersson
Yes, but when you run it from command line it is run with your account that has H:\ mapped. The scheduler is run as the account 'System' and that doesn't know anything about H:\. /Joakim -Original Message- From: Warren Vail [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 29,

[PHP] Re: Array Elements While Loops

2001-10-01 Thread _lallous
if ($flag = 1) { die (p align='center'bEmail #$errorNo is not a valid e-mail should be: if ($flag == 1) // notice the double-equal signs Tom Churm [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hi, my problem is this: i'm using a while loop to check

[PHP] PersonalDB.net .

2001-10-01 Thread
PersonalDB´Â »õ·Î¿î °³ÀÎ Áö½Ä ¹× Á¤º¸°ü¸® ½Ã½ºÅÛÀÔ´Ï´Ù. PersonalDB¿Í ÇÔ²² »õ·Î¿î Á¤º¸È­ ¼¼°è·Î ³ª¾Æ°¡Áö ¾ÊÀ¸½Ã°Ú½À´Ï±î? To. php-general ´Ô²² PersonalDB.net ȸ¿øÀ¸·Î ÃÊ´ë¹ÞÀ¸¼Ì½À´Ï´Ù. From. À¥°ü¸®ÀÚ ( mailmaster ) _

Re: [PHP] word filter

2001-10-01 Thread _lallous
and btw Maxim...I didn't write the $naught_words array in the first place... Maxim Maletsky ) [EMAIL PROTECTED] wrote in message news:014a01c14a54$05530640$4829abd4@tatiana... Sorry, I meant since PHP 4 only, as it is when function in_array() was introduced Maxim Maletsky www.PHPBeginner.com

[PHP] Re: Array Elements While Loops

2001-10-01 Thread Tom Churm
hi, _lallous: i've tried it with == and it still doesn't work: code for the valid variables is executed before my die() function is called. thanks, though, tom _lallous wrote: if ($flag = 1) { die (p align='center'bEmail #$errorNo is not a valid e-mail should be: if ($flag ==

Re: [PHP] still learning php

2001-10-01 Thread Caleb Carvalho
Hi Dimitris, thanks, but what if I have 5 fields to add into ie name,surname,comments? Caleb Carvalho Application Engineer LoadRunner/APM - Enterprise Testing and Performance Management Solutions

Re: [PHP] still learning php

2001-10-01 Thread Dimitris Kossikidis
Use addslashes() to escape single quotes or double quotes. It 's in the manual // giving some values $firstname ="Bob"; $lastname = "O' Reily"; // This could cause an error if not use addslashes $address = "Somewhere"; $age= 19; // adding slashes to quotes $firstname =

Re: [PHP] still learning php

2001-10-01 Thread Miles Thompson
You just add more fields: $sql = Insert into TABLE values('$name', $surname, $comments); that's assuming that the order of the data exactly matches the order of the fields in the table. Take the time to work through a couple of MySQL tutorials(assuming that's what you're using), and have a

[PHP] CD-R sur la PROVENCE

2001-10-01 Thread HUGUES
bonjour , Aimeriez-vous survoler pendant 20 mn la Provence en hélicoptère ? admirer plus de 400 photos et textes inédits ? tout cela existe maintenant sur un simple CD expédiable au tarif lettre. pour plus de détails visitez la rubrique CATALOGUE du site :

Re: [PHP] still learning php

2001-10-01 Thread Dimitris Kossikidis
$sql = " select firstname, lastname, address etc from TABLE"; execute sql statement; while fetching records { $firstname = stripslashes( $firstname); $lastname = stripslashes ( $lastname); // "O\' Reily" now becomes "O' Reily" } that's all - Original Message - From: "Caleb

[PHP] Re: session var being lost between pages

2001-10-01 Thread Chris Lee
echo $PHPSESSID on every page, is it the same on every page ? I usually recommend that you create the register variables too. else { $userid = ''; $userpassword = ''; session_register('userid'); session_register('userpassword'); } if $PHPSESSID is set then session_start() will find it

Re: [PHP] Recursion

2001-10-01 Thread Sheridan Saint-Michel
Recursion means you call a function which calls itself to get the job done. Recursive functions have two parts, the base case and the recursive method. The base case is the goal which signals that your function stops calling itself... sort of like the condition in a while loop... but for a

Re: [PHP] Re: Recursion

2001-10-01 Thread Andres Montiel
Thank you so much! This eases my worries for next semester. Would happen to have an example script showing PHP using recursion? Thanks again! Martin wrote: Hi Andres, Yes, PHP support recoursion. That means, that you are calling a function again and again, but with new start-parameters. For

[PHP] SOAP Tool Kit for PHP

2001-10-01 Thread Dahnke, Eric
My god does PHP need one. Or a library of functions to use. Yes, I have built in CURL support and am reading the $HTTP_RAW_DATA_POST variable and rolling my own as they say, but it sure would be nice. I've seen Manual Lemos' soap classes, and they are cool, but aren't really what I need. PHP

RE: [PHP] Warning: Sybase message: Incorrect syntax near 't'.

2001-10-01 Thread Mark Roedel
-Original Message- From: Caleb Carvalho [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 4:04 AM To: [EMAIL PROTECTED] Subject: [PHP] Warning: Sybase message: Incorrect syntax near 't'. Hi am trying to add data from html form, and it seems like the line 14 in my

Re: [PHP] Array Elements While Loops

2001-10-01 Thread Steve Cayford
Where is the closing brace for your while loop? -Steve On Monday, October 1, 2001, at 07:04 AM, Tom Churm wrote: hi, my problem is this: i'm using a while loop to check elements in an Array for valid email syntax. if $User[0] is a valid email address but $User[1] is not, the code for

Re: [PHP] instant session expiration problem

2001-10-01 Thread hassan el forkani
hi don't put an expiry date in the cookie, this way it should expire when the browser window is closed, just aguess... regards At 22:07 30/09/03, Ryan Mahoney wrote: When a client date is ahead of my server or incorrect the cookie that php uses to maintain the session is expired immediately

[PHP] Thank you all

2001-10-01 Thread Caleb Carvalho
thank you all, you've been a really good help I must say i've learned a lot, i will now try and get busy ps. this php mailing list really works :) many thanks Caleb Carvalho Application Engineer CSO Europe LoadRunner/APM

RE: [PHP] SOAP Tool Kit for PHP

2001-10-01 Thread Chris Bailey
You could also consider possibly the reverse of what you're doing. I'm not sure if it would actually work well, nor can I give you real details on how to do it, but you can always use Java classes from PHP. Depending on how much SOAP is needed/used across your site, you could continue with PHP

RE: [PHP] SOAP Tool Kit for PHP

2001-10-01 Thread Dahnke, Eric
Thanks. That's what I'm doing, and it is working, but it doesn't seem like it will be very robust, and I don't know if my roll your own will be compliant with MS SOAP messages and Apache SOAP messages. I'm reading the Soap:Envelope and Body XML via the $HTTP_RAW_DATA_POST variable. It comes as

RE: [PHP] SOAP Tool Kit for PHP

2001-10-01 Thread Chris Bailey
Check out this page of SOAP implementations: http://www.soapware.org/directory/4/implementations It lists several for PHP, so those may give you a solution. This is an interesting issue though, especially in light of you bringing up Tomcat. I don't mean to start a big flame war over

[PHP] Apache, FreeBSD PHP

2001-10-01 Thread Kees Hoekzema
Lectori Salutem, I have apache 1.3.20 running with php 4.0.6 on an freebsd 4.3 server. It is a busy server, serving more than 400k PHP-pages daily. I have a few troubles with it; first Apache is generating large errorlog files filled with httpd in free(): warning: recursive call. and httpd in

RE: [PHP] SOAP Tool Kit for PHP

2001-10-01 Thread Rasmus Lerdorf
When doing XML/XSL stuff that applies to just about any scripting language as Java has always been the reference implementation for this. When leaving the XML space the same is not true. But yes, we have a bit of catching up to do when it comes to XML/XSL/XSLT. -Rasmus On Mon, 1 Oct 2001,

[PHP] fopen

2001-10-01 Thread Kmarada
is it possible to use fopen to open 5000 files differents simultaneous and edit it simultaneous ? I have one file. if four user edit it simultaneous what happen? there is something to lock the file until one finish to edit? I read at manual something like flock how can i use it? -- PHP

[PHP] fopen !!!

2001-10-01 Thread Kmarada
is it possible to use fopen to open 5000 files differents simultaneous and edit it simultaneous ? I have one file. if four user edit it simultaneous what happen? there is something to lock the file until one finish to edit? I read at manual something like flock how can i use it? -- PHP

RE: [PHP] fopen

2001-10-01 Thread Nathan
Short answer. http://www.php.net/manual/en/function.flock.php -Original Message- From: Kmarada [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 11:53 AM To: [EMAIL PROTECTED] Subject: [PHP] fopen is it possible to use fopen to open 5000 files differents simultaneous and

[PHP] trying to get a list of functions used in a php script

2001-10-01 Thread Howie Oakes
Hello- I am trying to find a way to scan a php script and list all of the functions used in that script. Does anyone know if there is anything out there. (In Perl or PHP) I know that Perl has the C::scan module to do this with C code, but I have not seen anything for PHP. I am working on a

Re: [PHP] trying to get a list of functions used in a php script

2001-10-01 Thread Rasmus Lerdorf
I am trying to find a way to scan a php script and list all of the functions used in that script. Does anyone know if there is anything out there. (In Perl or PHP) I know that Perl has the C::scan module to do this with C code, but I have not seen anything for PHP. I am working on a secure

[PHP] CRM software

2001-10-01 Thread WebDev
Sorry if this is a little off topic. I was wondering if anyone knew of a simple yet effective CRM package written in PHP and MySQL. If have seen a couple on hotscriptsw.com but they are a little outside what I need. All I need is a package that you can install on a webserver which would allow

RE: [PHP] trying to get a list of functions used in a php script

2001-10-01 Thread Howie Oakes
Hi Ramsus, Thanks for the reply. I am trying to implement PHP in a very secure environment. My security department wants our developers to only be able to use functions from an approved list. My plan was to scan any PHP files when they get saved, get a list of the functions used and compare

[PHP] PHP 4.0.6 on NT (IIS 4.0) Can't replace uploaded file

2001-10-01 Thread Joseph Koenig
I've got a script on an NT (IIS 4.0) server that uploads a file. When the user attempts to replace the uploaded file with a new one via the form, the script is generating errors. Warning: Unable to create 'D:/public/HJ/www.h-jenterprises.com/test/pics/catalog/104_2.gif': Permission denied in

RE: [PHP] trying to get a list of functions used in a php script

2001-10-01 Thread Rasmus Lerdorf
Thanks for the reply. I am trying to implement PHP in a very secure environment. My security department wants our developers to only be able to use functions from an approved list. My plan was to scan any PHP files when they get saved, get a list of the functions used and compare those to the

[PHP] Looking for a PHP/MySQL Developer for short project

2001-10-01 Thread Doug Daulton
Folks, I am relatively new to PHP MySQL. I took on a side project some months ago which I now realize is over my head. The project is a real estate catalog. I adapted the catalog system from Welling and Thomson's PHP MySQL Web Development from SAMS. I really need to wrap this project up.

RE: [PHP] PHP 4.0.6 on NT (IIS 4.0) Can't replace uploaded file

2001-10-01 Thread Joe Kaiping
Sounds like their upload script isn't setting the correct file permissions when creating the file. Directory permissions don't seem to be a problem for you. -Joe2 -Original Message- From: Joseph Koenig [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 12:38 PM To: [EMAIL

[PHP] Submit of a Form needs reload the page to display results

2001-10-01 Thread Karina Gómez Salgado
Hi all, I have a problem with form submits. I have an access control form that my users fill to enter to a private web page, this access page saves 2 session variables and shows the result page that it's an php page with several queries to several tables. Well, when i submit my access control

[PHP] session_start() or session_register() AND cookies

2001-10-01 Thread Augusto Cesar Castoldi
Hi... If I use the session_start or session_register I'll never be able to open two sessions in the same computer in the same time? regards, Augusto ___ Yahoo! GeoCities Tenha seu lugar na Web.

[PHP] Re: trying to get a list of functions used in a php script

2001-10-01 Thread CC Zona
In article 584FAB68EB77D511BEF500508BB9191217695D@ATLEXC01, [EMAIL PROTECTED] (Howie Oakes) wrote: I am working on a secure implementation of PHP that will only allow certain functions to be used by end users. (But I still want to have full functionality for other scripts, so

Re: [PHP] session_start() or session_register() AND cookies

2001-10-01 Thread Rasmus Lerdorf
Change the session_name and you can. On Mon, 1 Oct 2001, [iso-8859-1] Augusto Cesar Castoldi wrote: Hi... If I use the session_start or session_register I'll never be able to open two sessions in the same computer in the same time? regards, Augusto

[PHP] session_start() or session_register() AND cookies

2001-10-01 Thread Augusto Cesar Castoldi
Hi... If I use the session_start or session_register I'll never be able to open two sessions in the same computer in the same time? regards, Augusto ___ Yahoo! GeoCities Tenha seu lugar na Web.

[PHP] Crazy problem with PDFLIB 4.0.1 and PHP 4.0.6

2001-10-01 Thread Alain DESEINE
Hi, Got a big problem with PHP 4.0.6 and PDFLIB 4.0.1. I got a script which is part of an application i wrote on a linux server (2.4 kernel) under php 4.0.5, mysql and PDFLIB 3.0.3. This script work very fine in this configuration. Today, i need to port the intranet application that use this

[PHP] socket_get_status()

2001-10-01 Thread Richard Heyes
Hi, Exactly what does the unread_bytes parameter of the return of socket_get_status() mean? I thought it would be the amount of data waiting to be gotten via fgets() or fread(), but not according to my lil' test (interactive mode): ?php $fp = fsockopen('10.1.1.2', 25);

Re: [PHP] PHP 4.0.6 on NT (IIS 4.0) Can't replace uploaded file

2001-10-01 Thread Joseph Koenig
The script is moving the file to its final destination and then doing a chmod(filename, 0777) (the php function, not through exec() or anything); Even setting the mode to 0777 doesn't help at all. Am I doing this completely wrong from IIS/NT? Thanks, joe Joe Kaiping wrote: Sounds like their

RE: [PHP] PHP 4.0.6 on NT (IIS 4.0) Can't replace uploaded file

2001-10-01 Thread Joe Kaiping
Hi Joe, I'm not familiar with PHP on Windows myself, but I just checked out the manual pages to see if it said anything and it sounds like chmod() doesn't work on windows: http://www.php.net/manual/en/function.chmod.php Note: This function does not work on Windows systems ditto for chgrp and

[PHP] Crazy problem with PDFLIB 4.0.1 and PHP 4.0.6

2001-10-01 Thread Alain DESEINE
Hi, Got a big problem with PHP 4.0.6 and PDFLIB 4.0.1. I got a script which is part of an application i wrote on a linux server (2.4 kernel) under php 4.0.5, mysql and PDFLIB 3.0.3. This script work very fine in this configuration. Today, i need to port the intranet application that use this

[PHP] How to do a dynamic UPDATE SET

2001-10-01 Thread René Fournier
I'm having a REALLY hard time with something that's probably easy to do (for someone :-)... Normally, to perform an update on a table with data from a submitted form, I would use something like: $sql = UPDATE $table SET pet='$pet', name='$name' WHERE id=$id; $result = mysql_query($sql);

RE: [PHP] How to do a dynamic UPDATE SET

2001-10-01 Thread Vincent
| But here's what I want to do now: I want to use the same two | lines of code for any possible form data that might be submitted mysql_list_fields retrieves all field names of $table; with that you can build your SET-clause for the query. something like: $fields =

RE: [PHP] How to do a dynamic UPDATE SET

2001-10-01 Thread Joe Kaiping
Something like this might work for you. (Just typed in the code and didn't test it, so take with a grain of salt. It doesn't really take into account all types of data, but maybe it will help with an idea.) Have groups of the following in your form: TR TD SELECT NAME=column[] OPTION

[PHP] eregi

2001-10-01 Thread Tim Ballantine
Hello, Could anyone tell me how to eregi a word, to see if it only contains either numbers, letters, the _ and the -, so that any other symbol with call it invalid. For example, theres the word expressio_n that will be valid, but the word express%^$-n will be invalid. Thankyou, Tim -- PHP

Re: [PHP] eregi

2001-10-01 Thread Rasmus Lerdorf
See php.net/strcspn On Mon, 1 Oct 2001, Tim Ballantine wrote: Hello, Could anyone tell me how to eregi a word, to see if it only contains either numbers, letters, the _ and the -, so that any other symbol with call it invalid. For example, theres the word expressio_n that will be valid,

Re: [PHP] eregi

2001-10-01 Thread Tim Ballantine
Is there anything which doesnt use length? And something like eregi, because it would be infeasible to list all of the symbols that a user could use, to compare a string by. Tim Rasmus Lerdorf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... See php.net/strcspn

[PHP] HTTP Authentication / Logging Out

2001-10-01 Thread Eric J Schwinder
I used a pretty basic system to check HTTP authentication values against database values, but I can't seem to find a way to allow the user to log out. I tried: unset($PHP_AUTH_USER) but Internet Explorer hangs on to that value until all browser windows are closed. Is there any way around

[PHP] Submit Form needs reload the page to display results the first time

2001-10-01 Thread Karina Gómez Salgado
Hi all, I have a problem with form submits. I have an access control form that my users fill to enter to a private web page, this access page saves 2 session variables and shows the result page that it's an php page with several queries to several tables. Well, when i submit my access control

Re: [PHP] eregi

2001-10-01 Thread Rasmus Lerdorf
Huh? You better read that documentation page again. You only need to list the illegal symbols. And what do you mean by length? -Rasmus On Mon, 1 Oct 2001, Tim Ballantine wrote: Is there anything which doesnt use length? And something like eregi, because it would be infeasible to list all

Re: [PHP] HTTP Authentication / Logging Out

2001-10-01 Thread Rasmus Lerdorf
$PHP_AUTH_USER is filled in based on the value coming from the browser. unsetting it in PHP makes no sense as the browser is simply going to set it again on the next request. There is no way to clear this from the client-side short of changing the realm or denying the authentication with a 403.

Re: [PHP] eregi

2001-10-01 Thread Tim Ballantine
Returns the length of the initial segment of str1 which does not contain any of the characters in str2. I realise that i could see if this matches with the length of the entire word, and is there a way to get it to compare the word by the legal characters, because the amount of illegal symbols,

Re: [PHP] eregi

2001-10-01 Thread Rasmus Lerdorf
Well, either you need to know the valid chars or the invalid ones. Make up your mind and use strspn() or strcspn() appropriately. -Rasmus On Mon, 1 Oct 2001, Tim Ballantine wrote: Returns the length of the initial segment of str1 which does not contain any of the characters in str2. I

[PHP] Newbie! Submit Form needs reload the page to show results the first time]

2001-10-01 Thread Karina Gómez Salgado
Hi all, please help me with this problem i'm desperate... I have a problem with form submits. I have an access control form that my users fill to enter to a private web page, this access page saves 2 session variables and shows the result page that it's an php page with several queries to

[PHP] Re: HTTP Authentication / Logging Out

2001-10-01 Thread Chris Lee
php is serverside, PHP_AUTH_USER is set by the client, therfore when you unset() the serverside instance of PHP_AUTH_USER the client doesnt know about this and keeps sending the username/pass. the only way I know of is to re-send the http auth headers and change the domain. this works for me.

Re: [PHP] eregi

2001-10-01 Thread Tim Ballantine
Thankyou... I should have made it clearer that I did want to use only the legal characters to compare the string by. Tim Rasmus Lerdorf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Well, either you need to know the valid chars or the invalid ones. Make up

RE: [PHP] How to do a dynamic UPDATE SET

2001-10-01 Thread Vincent
| The result: PHP updates the values of lang, record, date, what (etc.) to | [LITERALLY] $lang, $record, $date, etc--NOT the values of those fields | submitted by the form. I'm kinda lost as to what to do... Any | suggestions?? Ow yea, little mistake of mine, sorry. I think removing the

RE: [PHP] How to do a dynamic UPDATE SET

2001-10-01 Thread René Fournier
Nope, still no go. Removing the single quotes stops PHP from updating the fields with $set's literal $fieldname, but still doesn't update the record with the value (or anything). === CODE === if ($submit) { // if there is an ID, then it's an update if ($id) {

[PHP] A powerful editor!

2001-10-01 Thread Alex Shi
Hello folks, Today, I found a very powerful editor, called TextPad. I said it is 'powerful' because it can recognize syntax of php, html, java, css and also many many more great featuresmuch better that Windows Notepad. You can download and try. You need to take a few minutes to explore

[PHP] Sessions, sessions, sessions...

2001-10-01 Thread Bradley Goldsmith
Hi, I am using php4 (great) under win32 apache (not so great) ... I am trying to regsiter two session variables. When the page is first displayed, the variables are registered thus: session_register(Sheet); $HTTP_SESSION_VARS[Sheet]=serialize($Sheet);

Re: [PHP] PHP 4.0.6 on NT (IIS 4.0) Can't replace uploaded file

2001-10-01 Thread Christian Dechery
I had the same problem... chmod doesn't work in Windows... I'm using win2000 server... to make uploads possible you have to set permissions to the users: IUSR_COMPUTERNAME and IWAM_COMPUTERNAME, set them both to FULL and test... At 15:54 1/10/2001 -0500, Joseph Koenig wrote: The script is

Re: [PHP] session var being lost between pages

2001-10-01 Thread Christian Dechery
are you sure you have session_start() on all three pages and you have enabled 'track_vars'??? cuz if you don't you'll have to manually pass the session id trought the form... At 07:50 1/10/2001 +, Jean-Christian Imbeault wrote: Ok, newbie I am but ... I seem to be losing my session vars

[PHP] Namo Web Editor

2001-10-01 Thread Petras Virzintas
Hi, apparently the Namo Web Editor has a PHP generator together with a MySQL interface. Is this truly an alternative to products such as PhpEd? Has anyone used it for production applications? Any other useful comments? Petras

[PHP] sessions in php4

2001-10-01 Thread sagar N Chand
hi all, i'm using a php4.0.6 with apache on win2k. when i register a session and immediately if i redirect to another page the session seems not to be registered. eg. ? session_start(); $value = 908; session_register(value); header(location : new location); ? when i go to the new page i c that

[PHP] Simple Question, I think

2001-10-01 Thread Ratfish
All I want to do is what an ASP page I have is doing. I just want to host multiple sites with one page like the one in the article below until I can get my head around the real way of doing it. http://www.zdnet.com/devhead/stories/articles/0,4413,2418330,00.html Surely there is a PHP

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

2001-10-01 Thread Bradley Goldsmith
Nope. Still doesn't work. I still have to do a refresh on the page manually... Any other ideas? Thanks, Brad -Original Message- From: Wayne K [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 2 October 2001 11:38 AM To: Bradley Goldsmith Subject: Re: Sessions, sessions, sessions...

[PHP] Newbie But Urgent

2001-10-01 Thread Radith
HELLO, I am finished working with the html and css levels and want to take my design to the next level. I realize that JS is getting outdated and many new technologies have started popping up. I do want a database driven site. I am running Windows and have both the 98 and 2000 versions. There's

Re: [PHP] Simple Question, I think

2001-10-01 Thread Kath
Perhaps check the URL and direct as such using header();. Use phpinfo(); to find what var holds the current URL. - k - Original Message - From: Ratfish [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 01, 2001 10:25 PM Subject: [PHP] Simple Question, I think All I

RE: [PHP] Simple Question, I think

2001-10-01 Thread Lawrence . Sheed
Simple to do it in php, but i would think its better done in apache using virtual host configuration. do a google search for virtual host apache -Original Message- From: Ratfish [mailto:[EMAIL PROTECTED]] Sent: October 2, 2001 10:25 AM To: [EMAIL PROTECTED] Subject: [PHP] Simple

Re: [PHP] session var being lost between pages

2001-10-01 Thread Jean-Christian Imbeault
Can someone explain this to me? I am not very confused after reading this post ... are you sure you have session_start() on all three pages and you have enabled 'track_vars'??? I have done no such thing. The PHP book I have doesn't mention any of this. It simply says that using

Re: [PHP] loosing session variables: work still in progress

2001-10-01 Thread Jean-Christian Imbeault
Still not working ... Here is some output that shows the session is being registered and the ID is the same between pages ... but the var $user gets lost. LOGIN PAGE --- userid h: session_name(): PHPSESSID Session ID: f227e539d7b9b8db2c2a2b63dc79c6e2 Session name: PHPSESSID after

Re: [PHP] socket_get_status()

2001-10-01 Thread Mukul Sabharwal
Hi, Well I'm not totally sure, why socket_get_status would not give you the correct value, other than a bug, as the manual does indicate the socket functions are experimental. There are altenative ways to get the number of bytes in the buffer, like using ioctl with FIONREAD, ofcourse that is a

[PHP] Having trouble using get_browser() function

2001-10-01 Thread Iván Milanez Castellanos
Hi, does anyone here know how to correctly configure php.ini to be able to use browscap.ini in linux so that I can get the get_browser() function to work properly, I need it because I'm building a statlog from scratch for my web site. Any help will be apreciated. Iván P.S. Sorry about my

Re: [PHP] Namo Web Editor

2001-10-01 Thread Justin Rodino
Where does one find this Namo Web Editor? === Justin Network Engineer/Systems Analyst Interlink Companies On Tue, 2 Oct 2001, Petras Virzintas wrote: Date: Tue, 2 Oct 2001 11:35:51 +1000 From: Petras Virzintas [EMAIL PROTECTED] To: PHP General List [EMAIL PROTECTED] Subject: [PHP] Namo

Re: [PHP] Simple Question, I think

2001-10-01 Thread Ratfish
Thanks guys, that's just what I wanted to hear.and so quick too! From: [EMAIL PROTECTED] (Lawrence Sheed) Newsgroups: php.general Date: Mon, 1 Oct 2001 22:40:29 -0400 To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [PHP] Simple Question, I think Simple to do it in php, but i

[PHP] MySQL Ability

2001-10-01 Thread Devin Pittman
I would like to begin coding a online website creation tool for clients of my small web design firm, and I'd like to use MySQL for the backend. I only have one question - is MySQL fast enough and robust enough to handle large amounts of data? For example entire pages of text, etc. Thanks for

Re: [PHP] MySQL Ability

2001-10-01 Thread Rasmus Lerdorf
sure On Tue, 2 Oct 2001, Devin Pittman wrote: I would like to begin coding a online website creation tool for clients of my small web design firm, and I'd like to use MySQL for the backend. I only have one question - is MySQL fast enough and robust enough to handle large amounts of data?

RE: [PHP] Namo Web Editor

2001-10-01 Thread Maxim Maletsky \(PHPBeginner.com\)
by searching google, perhaps Maxim Maletsky www.PHPBeginner.com -Original Message- From: Justin Rodino [mailto:[EMAIL PROTECTED]] Sent: martedi 2 ottobre 2001 5.30 To: Petras Virzintas Cc: PHP General List Subject: Re: [PHP] Namo Web Editor Where does one find this Namo Web Editor?

[PHP] mysql query for current id-1

2001-10-01 Thread Jason Dulberg
This is kindof a weird question so bear with me as I try to explain. I have a session table that gets updated when a user logs in/out. If they don't logout, some info is left unchanged. I have a cron script that takes care of the stray sessions so that's all good. In the sessions table, there's

  1   2   >