[PHP] Using mod_rewrite and PHP

2003-02-26 Thread Dan Phiffer
So I'm trying to implement a URL system like so: http://domain.org/issues/2003/feb/article-name/ such that http://domain.org/issues/index.php will display the requested page. I've read a little about this (http://www.alistapart.com/stories/succeed/) and have gotten it to work for the most part, b

Re: [PHP] exec & mysqldump

2003-02-26 Thread John Taylor-Johnston
Scratch that. Had a CHMOD problem. Sorry. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] exec & mysqldump

2003-02-26 Thread John Taylor-Johnston
This works: exec("mysqldump -u -p -A > test.sql"); This doesn't. exec("mysqldump -u -p -A > $filename"); :) $filename"); echo "dump completed on $filename "; ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] non transmitted cookie

2003-02-26 Thread Dennis Gearon
Unless of course, you are listening into the network connection :-) Jason Sheets wrote: > > Not that I am aware of, it seems you would be better off using SSL, if > you are concerned about someone hijacking the sessions you could > generate your own session id (I generate random 80 character sess

RE: [PHP] Emacs?

2003-02-26 Thread Matt Giddings
Don't you mean 42? > -Original Message- > From: Larry Brown [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 26, 2003 7:55 PM > To: PHP List > Subject: RE: [PHP] Emacs? > > 25 > > -Original Message- > From: Sascha Braun [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 25,

RE: [PHP] One more string question

2003-02-26 Thread Matt Honeycutt
Trying using stripslashes() on the string variable prior to displaying it. That *might* not work for you, but I'd try that first. ---Matt -Original Message- From: Gregory Chagnon [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 11:12 PM To: [EMAIL PROTECTED] Subject: [PHP] O

[PHP] php_flag session.auto_start 0 not working

2003-02-26 Thread Gary
I am using php_flag session.auto_start 0 in an .htaccess file to stop sessions from auto starting. It works on all but the one below, it still auto starts. The session replaces linked style sheets on the page through some links. Can anyone see the problems? session_start(); if ( isset($_GET['

[PHP] Re: One more string question

2003-02-26 Thread John Taylor-Johnston
Stripslashes I think. Gregory Chagnon wrote: > When I submit a form with a text area containing the test "//server/share" > and try to echo the variable it echos "server//share". Is there any way > to prevent the extra /'s? Thanks! > -Greg -- John Taylor-Johnston --

[PHP] One more string question

2003-02-26 Thread Gregory Chagnon
When I submit a form with a text area containing the test "//server/share" and try to echo the variable it echos "server//share". Is there any way to prevent the extra /'s? Thanks! -Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is PHP Reinstall required?

2003-02-26 Thread Patrick LOK
But where is the package? rgds ./pl "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Just install the apache-devel package which is where the apxs tool lives. > > -Rasmus > > On Thu, 27 Feb 2003, Patrick LOK wrote: > > > I have to uninstall my Apache 2.0.x that came

[PHP] Re: mysqldump

2003-02-26 Thread John Taylor-Johnston
Thanks! > exec("mysqldump -c -q database -u user -ppassword", $sql); Why is there no space between the -p and password? >-ppassword Am I wrong? Thanks, John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: using php to rotate ad banners

2003-02-26 Thread Manuel Lemos
Hello, On 02/26/2003 07:58 PM, Joseph Bannon wrote: I recently created some scripts to rotate ad banners on my site. One script is called show.php, which serves the banner. The other is called click.php, which redirects the people to the proper site for the banner they clicked on. Some people have

Re: [PHP] Is PHP Reinstall required?

2003-02-26 Thread Rasmus Lerdorf
Just install the apache-devel package which is where the apxs tool lives. -Rasmus On Thu, 27 Feb 2003, Patrick LOK wrote: > I have to uninstall my Apache 2.0.x that came along with RedHat 8.0 because > the httpd (rpm) in RH8.0 does not have Apache apxs (why dont they include > it). > > I need a

[PHP] Is PHP Reinstall required?

2003-02-26 Thread Patrick LOK
I have to uninstall my Apache 2.0.x that came along with RedHat 8.0 because the httpd (rpm) in RH8.0 does not have Apache apxs (why dont they include it). I need apxs to install lxp... (it seems lxp can only be installed on a customized Linux platform... USER NOT FRIENDLY :( ) I already have PH

Re: [PHP] problem in writing into an html text file

2003-02-26 Thread Michael P. Carel
sorry here's the sample code: /textarea> the html file upon modify multiplies all the backslashes. any idea why? thanks in advance. - Original Message - From: "Jason Sheets" <[EMAIL PROTECTED]> To: "Michael P. Carel" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, Fe

[PHP] Re: Mail (), BBC: recipients not receiving my Newsletter

2003-02-26 Thread Manuel Lemos
Hello, On 02/26/2003 07:40 PM, Ricardo Fitzgerald wrote: I wrote a small form which dumps data to a php script that uses mail () to send an html newsletter, so far is working except that it's not sending to BCC: headers, in my form I have a field to enter a comma delimited email list, after submit

Re: [PHP] multiple line text area

2003-02-26 Thread Gregory Chagnon
Thanks John, you're right -Greg "John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The newlines are preserved. Do a view source of your page where you're > displaying it and you'll see what I'm talking about. HTML just doesn't > render newlines, only . If you're seeing

RE: [PHP] multiple line text area

2003-02-26 Thread John W. Holmes
The newlines are preserved. Do a view source of your page where you're displaying it and you'll see what I'm talking about. HTML just doesn't render newlines, only . If you're seeing something different, then show your code and explain this more. ---John W. Holmes... PHP Architect - A monthly mag

Re: [PHP] multiple line text area

2003-02-26 Thread Gregory Chagnon
That would work, only I need to copy this text to a file without the in it. -Greg "John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I need to be able to preserve line breaks when a user types in > multiple > > lines in a multitple line test area. Right now if I ec

RE: [PHP] multiple line text area

2003-02-26 Thread John W. Holmes
> I need to be able to preserve line breaks when a user types in multiple > lines in a multitple line test area. Right now if I echo > $_POST['textarea'] > I get everything on one line. Is there any way to do this? Thanks! > -Greg www.php.net/nl2br ---John W. Holmes... PHP Architect - A month

[PHP] Re: multiple line text area

2003-02-26 Thread Gregory Chagnon
Make that a multitple line TEXT area, not a test area :) -Greg "Gregory Chagnon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I need to be able to preserve line breaks when a user types in multiple > lines in a multitple line test area. Right now if I echo $_POST['textarea'] > I

[PHP] multiple line text area

2003-02-26 Thread Gregory Chagnon
I need to be able to preserve line breaks when a user types in multiple lines in a multitple line test area. Right now if I echo $_POST['textarea'] I get everything on one line. Is there any way to do this? Thanks! -Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] mcrypt as shared module

2003-02-26 Thread Jason Sheets
Hello Vladimir, you can run phpize in the mcrypt extension directory in your PHP source code, then copy the .so file to your PHP extension dir and either add an extension line to your php.ini file or use dl to load the extension at run time. Generally I just compile it in at PHP configure time as

Re: [PHP] non transmitted cookie

2003-02-26 Thread Jason Sheets
Not that I am aware of, it seems you would be better off using SSL, if you are concerned about someone hijacking the sessions you could generate your own session id (I generate random 80 character session ids instead of 32) and also limit the life of the session, you could write logic to change the

Re: [PHP] problem in writing into an html text file

2003-02-26 Thread Jason Sheets
Hello Mike, You will need to better describe your problem and preferably show some source code. What characters are being added to it? You could use str_replace or the regular expression replacement functions but you should not get added characters in general. Jason On Wed, 2003-02-26 at 19:07,

RE: [PHP] problem in writing into an html text file

2003-02-26 Thread John W. Holmes
> Im having a problem writing an HTML code in a text file which comes from > the > html text area as an editor. There's an added characters inserted to it. > How > could i write to it perfectly? You have a problem on line 9 of your script after the 'e'. ---John W. Holmes... PHP Architect -

Re: [PHP] resizing .jpg file in php

2003-02-26 Thread Jason Sheets
You can use the GD image functions or ImageMagick to resize images. More about GD can be found in the PHP manual at http://www.php.net/manual. Jason On Wed, 2003-02-26 at 07:36, Anthony Ritter wrote: > I'd like to use (with permission) .jpg files from a webcam from another URL. > > Once that URL

RE: [PHP] session_start

2003-02-26 Thread John W. Holmes
> At 01:36 27.02.2003, Mr Percival said: > [snip] > >What I was hoping to do was to be able to give a error message if the > server > >was having this problem, but in order to do that I was needing a way of > >knowing if it was because the session_start faile

[PHP] Re: mysqldump

2003-02-26 Thread Joseph Szobody
u. that should read: exec("mysqldump -c -q database -u user -ppassword", $sql); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: mysqldump

2003-02-26 Thread Joseph Szobody
You need to use exec, system, etc. Here is a script that I recently put together. It backs up the database, and pushes it as a download to the user. Hope this helps, Joseph "John Taylor-Johnston" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Anyone do MySQLDump using PHP ? >

[PHP] mysqldump

2003-02-26 Thread John Taylor-Johnston
Anyone do MySQLDump using PHP ? http://www.mysql.com/doc/en/mysqldump.html My code is: mysqldump -u ** -p ** -A > /home/mybackups/dump_all.sql I would like to pull it off using PHP, remotely. $date = date ("Ymd"); $to_path = "/home/MyBackups/$date/dump_all.sql"; mysqldump -u ** -p

[PHP] problem in writing into an html text file

2003-02-26 Thread Michael P. Carel
hi to all, Im having a problem writing an HTML code in a text file which comes from the html text area as an editor. There's an added characters inserted to it. How could i write to it perfectly? mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

Re: [PHP] checking if module exists

2003-02-26 Thread Jun
thank you chris and marek.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Emacs?

2003-02-26 Thread Michael E. Barker
Me. Sascha Braun wrote: How many Persons in this List are using Emacs as there default Editor? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Best way to accept donations online - Can't use paypal

2003-02-26 Thread Joseph Bannon
I think paypal can be used. I created a script that gets all their information passed from paypal's server where it updates their account on mine. Very seemless. J. __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.

Re: [PHP] Emacs?

2003-02-26 Thread Justin French
on 27/02/03 11:55 AM, Larry Brown ([EMAIL PROTECTED]) wrote: > 25 ahahahahahahaha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Emacs?

2003-02-26 Thread Larry Brown
25 Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Sascha Braun [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 12:00 PM To: PHP General list Subject: [PHP] Emacs? How many Persons in this List are using Emacs as there default Editor? -- PHP Ge

RE: [PHP] session_start

2003-02-26 Thread Ernest E Vogelsinger
At 01:36 27.02.2003, Mr Percival said: [snip] >What I was hoping to do was to be able to give a error message if the server >was having this problem, but in order to do that I was needing a way of >knowing if it was because the session_start failed or users

Re: [PHP] session_start

2003-02-26 Thread Justin French
Yeah, get a new host :) J on 27/02/03 11:36 AM, Mr Percival ([EMAIL PROTECTED]) wrote: > >> [snip] >>> Not to be nosey or anything but "usually" session data will always be saved >>> or not. How come one would want to check to see if is was or not. >> --

[PHP] PHP list problems?

2003-02-26 Thread Sebastian
every so often i get a blank email that contains an attachment, a ATTxyz.dat and ATTxyz.txt why? I just got a reply from David T-G, Thread "Deleting a page after viewing it" and its blank with an attachment.. warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com

RE: [PHP] session_start

2003-02-26 Thread Mr Percival
> [snip] > >Not to be nosey or anything but "usually" session data will always be saved > >or not. How come one would want to check to see if is was or not. > [snip] Maybe I am on the wrong track but the other day I

Re: [PHP] Deleting a page after viewing it

2003-02-26 Thread Justin French
Yes, with either sessions, POST or GET, you need to let the second page know that it has to delete the other page, and then delete it with unlink... although I'm SURE there's gotta be a better way to do all this rather than creating/deleting files for each member. Justin on 27/02/03 4:32 AM, Pau

[PHP] Re: date, "first of next month"?

2003-02-26 Thread Philip Hallstrom
> On Wed, 26 Feb 2003, 1LT John W. Holmes wrote: > > |You would think strtotime("first of next month") would work, but it doesn't. > |This does: > | > |$t = mktime(0,0,0,date('m')+1,1,date('Y')); > | > |Gives you timestamp of first day, next month. Format accordingly with > |date(). > > Thats great

Re: [PHP] php Warning help!

2003-02-26 Thread Sebastian
apparently the path to an include is not correct.. Check you have the correct path for your include(); chmod 777 might not be the answer. warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com - Original Message - From: "Richard Baskett" <[EMAIL PROTECTED]> To: "PHP

Re: [PHP] Deleting a page after viewing it

2003-02-26 Thread David T-G
Chris, et al -- ...and then Chris Hayes said... % % At 18:32 26-2-03, you wrote: % >I have a confirmation of "membership" page a user would arrive at after % >clicking on a URL in an email. After they click on a link in this page I % >want to delete the page itself so it will only exist for thi

[PHP] Best way to accept donations online - Can't use paypal

2003-02-26 Thread David Caplan
Hi, I'm making a site for a non-profit and I need to be able to handle donations online. I can't use paypal because the donations need to be seamlessly integrated with the site, also I will need to do a fair amount of customization to the donation forms, like matching funds, gift in another person

Re: [PHP] Mail (), BBC: recipients not receiving my Newsletter

2003-02-26 Thread Jason k Larson
What about using a ';' semicolon seperated list. Ricardo Fitzgerald wrote: Hi to all, I wrote a small form which dumps data to a php script that uses mail () to send an html newsletter, so far is working except that it's not sending to BCC: headers, in my form I have a field to enter a comma deli

[PHP] using php to rotate ad banners

2003-02-26 Thread Joseph Bannon
I recently created some scripts to rotate ad banners on my site. One script is called show.php, which serves the banner. The other is called click.php, which redirects the people to the proper site for the banner they clicked on. Some people have noticed that when they click on the banner, they go

Re: [PHP] Mail (), BBC: recipients not receiving my Newsletter

2003-02-26 Thread Richard Baskett
Yeah I am having the same problem also.. it used to work and Im not sure when it happened.. it just doesn¹t work anymore.. Someone enlighten us? Rick When one door closes, another opens; but we often look so long and so regretfully upon the closed door that we do not see the one which has opened

[PHP] Mail (), BBC: recipients not receiving my Newsletter

2003-02-26 Thread Ricardo Fitzgerald
Hi to all, I wrote a small form which dumps data to a php script that uses mail () to send an html newsletter, so far is working except that it's not sending to BCC: headers, in my form I have a field to enter a comma delimited email list, after submiting the form this list is stored under one var

Re: [PHP] Problem wit doing ldap_add and modify in same script

2003-02-26 Thread Bill MacAllister
Looks to me like a judiciously place $info = array(); would do wonders. Bill --On Wednesday, February 26, 2003 08:23:39 AM -0500 Jim Greene <[EMAIL PROTECTED]> wrote: > Strange problem: Taking the 2 halfs of the scripts (the section to > update uidNumber and the one to add the user) and combini

Re: [PHP] query to Active Directory

2003-02-26 Thread Bill MacAllister
Hello, Should start off my saying I do not know about Active Directory specifically, but I have used the PHP LDAP support a lot against other directory servers. What I see straight off is that $user_dn does not look like a distinguished name. I would have expected something like: $user_dn =

[PHP] Manipulating a text file

2003-02-26 Thread Richard Kurth
Hello php-general, I need to be able to add and delete to a text file that look like this. I only need to manipulate the part after site:x:503: site1:x:503:tester1,tester6 site2:x:504: site3:x:505: site4:x:506: site5:x:507: site6:x:508: site7:x:509:tester2,tester3,tester4 site8:x:510: site9:x:511

[PHP] php Warning help!

2003-02-26 Thread Richard Baskett
Warning: Unknown(path/index.php): failed to create stream: Permission denied in Unknown on line 0 Warning: Unknown(): Failed opening '/path/index.php' for inclusion (include_path='.:/path/phpinc/') in Unknown on line 0 What in the world is going on here? I've set all my files to 777 just to test

[PHP] question on preg_replace()

2003-02-26 Thread Andy Crain
I'm having a problem figuring out how to prevent preg_replace() from replacing substrings when one element of the pattern array matches a portion of a string that would match a subsequent value in the pattern array. Say I have an two arrays: find => Array ( [0] => 'f

Re: [PHP] date, "first of next month"?

2003-02-26 Thread Bryan Koschmann - GKT
On Wed, 26 Feb 2003, 1LT John W. Holmes wrote: |You would think strtotime("first of next month") would work, but it doesn't. |This does: | |$t = mktime(0,0,0,date('m')+1,1,date('Y')); | |Gives you timestamp of first day, next month. Format accordingly with |date(). Thats great, worked perfectly!

Re: [PHP] Deleting a page after viewing it

2003-02-26 Thread 1LT John W. Holmes
> I have a confirmation of "membership" page a user would arrive at after > clicking on a URL in an email. After they click on a link in this page I > want to delete the page itself so it will only exist for this one use. > The URL in the page does go to another "Welcome" page which is on > ano

Re: [PHP] Re: Re: Editors

2003-02-26 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 26 February 2003 02:19 pm, James Hatridge wrote: [snip] > Thanks for the address. I looked into it closer and I find that it is only > for Windows. Pity. It will run on linux using wine. Yes, I've tried it...it works! ~Paul - -- ~Paul Ni

[PHP] mcrypt as shared module

2003-02-26 Thread Vladimir Fedorkov
How can I attach mcrypt to PHP (FreeBSD) without recompile whole PHP ? How can I compile mcrypt as PHP shared module ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] date, "first of next month"?

2003-02-26 Thread Brent Baisley
Use the mktime function: mktime (0,0,0,(date("n",$date)+1),1,date("Y",$date)) Where the variable $date contains whatever is the starting date. The function handles a December date just fine also. On Wednesday, February 26, 2003, at 03:28 PM, Bryan Koschmann - GKT wrote: Hello, Does anyone know

Re: [PHP] date, "first of next month"?

2003-02-26 Thread Chris Shiflett
--- Bryan Koschmann - GKT <[EMAIL PROTECTED]> wrote: > Does anyone know a way to do this easily? I have a script that pretty much > says "this is due on the first of next month" but I would like it to > actually use the correct date. Well, you need: 1. The day of the month, which is always going

Re: [PHP] date, "first of next month"?

2003-02-26 Thread 1LT John W. Holmes
> Does anyone know a way to do this easily? I have a script that pretty much > says "this is due on the first of next month" but I would like it to > actually use the correct date. You would think strtotime("first of next month") would work, but it doesn't. This does: $t = mktime(0,0,0,date('m')+

[PHP] date, "first of next month"?

2003-02-26 Thread Bryan Koschmann - GKT
Hello, Does anyone know a way to do this easily? I have a script that pretty much says "this is due on the first of next month" but I would like it to actually use the correct date. Thanks, Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

Re: [PHP] imagecreate()

2003-02-26 Thread Anthony Ritter
Chris, The function I'm trying to get...it's: imagecreate() I am using MS Win 98 / PHP 4 and Apache. I tried running the following script but got an undefined call to imagecreate() The following copy is located in my php.ini file...one of which is: .. ;extension=php_gd.dll ...

[PHP] Re: Re: Editors

2003-02-26 Thread James Hatridge
HI Pierre et al... On Tuesday 25 February 2003 18:54, Pierre Vaudrey wrote: > The download address is : > > http://www.maguma.com/products/download.php > > Pierre Thanks for the address. I looked into it closer and I find that it is only for Windows. Pity. Does anyone know of a PHP editor for

Re: [PHP] imagecreate()

2003-02-26 Thread Chris Shiflett
--- Anthony Ritter <[EMAIL PROTECTED]> wrote: > Fine Chris. > > Maybe you'd be kind enough to explain how I can get that function to work. This is an example of what I am talking about. I would love to help, but you are leaving out way too much information. What function? Why do you think it does

Re: [PHP] Too many connections - MySQL

2003-02-26 Thread 1LT John W. Holmes
There is a setting in MySQL for the max_connections. You just need to increase this. If you're using persistent connections, do some research on them and make sure you really need to be using them. They will eat up your connections and cause you to have this error more quickly. ---John Holmes...

Re: [PHP] imagecreate()

2003-02-26 Thread Anthony Ritter
Fine Chris. Maybe you'd be kind enough to explain how I can get that function to work. I've uncommented the line in the php.ini file. In "Mastering PHP" (Sybex) on page 559 - Chapter 18, the authors of the textbook - Allen and Hornberger - say when using Win to: ... "uncommen

[PHP] Page processing/display anomaly

2003-02-26 Thread acleave
I have a common header for all the pages on my site. This header has a link with the following code: javascript:popUp550_450('http://www.website.com/page.php?referingpage=') This code works exactly right on all pages of the site except one. On the page answer.php, it doesn't evalutate the php

Re: [PHP] niklasRe: [PHP] mysql trouble

2003-02-26 Thread 1LT John W. Holmes
> On Thursday 27 February 2003 00:08, 1LT John W. Holmes wrote: > > Dude... honestly, lay off the coffee and learn to type. > > Shouldn't that be cigars? I guess so. He can send the cigars to me!! :) John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP] segfault of apache 2.0.44 & php 4.3.1

2003-02-26 Thread Alexander Newald
Hello, I installed the latest version of apache and php and thought all went well, but I get a segfault with apache when I try to reload (apachectl graceful) apache: Here the details: kernel: 2.4.18 httpd 2.0.44 php 4.3.1 My way of installing it: cd httpd-2.0.44 ./configure --prefix=/opt/apach

Re: [PHP] imagecreate()

2003-02-26 Thread Chris Shiflett
--- Anthony Ritter <[EMAIL PROTECTED]> wrote: > Yes Adam. > Any ideas? > > TR Please write emails that make sense if you are going to send them to the entire list. I have noticed a few of these "me too" type of emails today. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscrib

[PHP] Emacs?

2003-02-26 Thread Sascha Braun
How many Persons in this List are using Emacs as there default Editor? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] non transmitted cookie

2003-02-26 Thread Dennis Gearon
Is there anyway for a page to save information on a user's computer which is accessible via java or javascript, but doesn't get sent with each HTML request the way a cookie is? I had this idea, patterned after kerberos: 1/ A user logs into a site via a secure link. 2/ A hash salt is stored on t

Re: [PHP] to Jason Wong Re: [PHP] mysql trouble

2003-02-26 Thread Luis A
HTML b)single - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 26, 2003 12:38 PM Subject: Re: [PHP] to Jason Wong Re: [PHP] mysql trouble > On Thursday 27 February 2003 01:32, Luis A wrote: > > OK IF no trouble for ud to send i

Re: [PHP] String searching peformance

2003-02-26 Thread {R}ichard Ashton
On Wed, 26 Feb 2003 17:47:41 +0800, Jason Wong wrote: >On Wednesday 26 February 2003 16:49, {R}ichard Ashton wrote: > >> Do you think that: >> >> if (preg_match($re, $posting, $hits)) would slow it down at all. The >> $buzzwords will be kept in a file to be loaded before each run, every 5 >> minute

Re: [PHP] Splitting up big strings

2003-02-26 Thread {R}ichard Ashton
On Thu, 27 Feb 2003 01:02:54 +0800, Jason Wong wrote: >On Thursday 27 February 2003 00:54, {R}ichard Ashton wrote: >> I have the body ov a Usnet article, all of it, in $body. I want to >> split it into lines. >> >> I have tried >> >> $lines = explode( X, $body); >> >> where I have used >> >> X = "0

Re: [PHP] $PHP_SELF with redirected domain

2003-02-26 Thread Chris Hayes
...and the problem that the form immediately goes to the real url is that people see the real url? What about one of the following: - chop off the subdir again by only putting the last part of $PHP_SELF as form action (f.i. with a combination of substr($PHP_SELF,...,...) and strpos('/') ) or

Re: [PHP] question on text file reading.

2003-02-26 Thread David Banning
On Wed, Feb 26, 2003 at 08:58:43AM -0800, Chris Shiflett wrote: > --- David Banning <[EMAIL PROTECTED]> wrote: > > The company I am working with is using an old database, which > > doesn't even support memo field beyond 256 characters, so it is probably > > too difficult, and not worth trying to i

Re: [PHP] imagecreate()

2003-02-26 Thread Anthony Ritter
Yes Adam. Any ideas? TR -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] $PHP_SELF with redirected domain

2003-02-26 Thread bill
If I use $PHP_SELF as the action in a form where the domain name is redirected, I get the extra directory. Is there a way around that? Details: The domain name is redirected in .htaccess like this: RewriteCond %{REQUEST_URI} !domain2 RewriteRule ^(.*) %1/$1 [L

Re: [PHP] Deleting a page after viewing it

2003-02-26 Thread Chris Hayes
At 18:32 26-2-03, you wrote: I have a confirmation of "membership" page a user would arrive at after clicking on a URL in an email. After they click on a link in this page I want to delete the page itself so it will only exist for this one use. The URL in the page does go to another "Welcome" pa

[PHP] Re: [PHP-DB] SESSIONS

2003-02-26 Thread Leif K-Brooks
Not $_POST[SUBMIT]. It should be $_POST['SUBMIT']. mike karthauser wrote: on 26/2/03 12:58 pm, MaN at [EMAIL PROTECTED] wrote: And also use $_POST[SUBMIT] or set register_globals On Just use $_POST[SUBMIT] register_globals was turned off for security reasons. You are compromising the s

Re: [PHP] to Jason Wong Re: [PHP] mysql trouble

2003-02-26 Thread Jason Wong
On Thursday 27 February 2003 01:32, Luis A wrote: > OK IF no trouble for ud to send it to me the manual ?? > > in spanish > > b) Single HTML or Multiple HTML or Windows HTML (CHM format) Which format? Also please do not change the subject (ie putting people's name into the subject). -- Jason

Re: [PHP] Deleting a page after viewing it

2003-02-26 Thread Jason Wong
On Thursday 27 February 2003 01:32, Paul wrote: > I have a confirmation of "membership" page a user would arrive at after > clicking on a URL in an email. After they click on a link in this page I > want to delete the page itself so it will only exist for this one use. > The URL in the page does go

Re: [PHP] to Jason Wong Re: [PHP] mysql trouble

2003-02-26 Thread Luis A
OK IF no trouble for ud to send it to me the manual ?? in spanish - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 26, 2003 12:17 PM Subject: Re: [PHP] to Bryan Lipscy Re: [PHP] mysql trouble > On Thursday 27 February 2003 01:0

Re: [PHP] imagecreate()

2003-02-26 Thread Adam Voigt
Did you restart? On Wed, 2003-02-26 at 12:41, Anthony Ritter wrote: On MS Win 98 / Apache / PHP 4 If somebody out there using Win can check my php.ini file and advise me what I'm doing wrong. I have uncommented: ..

[PHP] imagecreate()

2003-02-26 Thread Anthony Ritter
On MS Win 98 / Apache / PHP 4 If somebody out there using Win can check my php.ini file and advise me what I'm doing wrong. I have uncommented: .. extension=php_gd.dll .. and have included: .. extension_dir = C:\php4\extensions I ru

[PHP] Deleting a page after viewing it

2003-02-26 Thread Paul
I have a confirmation of "membership" page a user would arrive at after clicking on a URL in an email. After they click on a link in this page I want to delete the page itself so it will only exist for this one use. The URL in the page does go to another "Welcome" page which is on another serve

[PHP] Re: Too many connections - MySQL

2003-02-26 Thread Martin Mandl
don't use persitent connections ... that will solve your problem Stephen Craton wrote: On this site, www.roempire.com, which we host, they are having problems with too many connections. I think that someone messed with the GRANT option. How can we reverse this and allow unlimited connections per

Re: [PHP] niklasRe: [PHP] mysql trouble

2003-02-26 Thread Jason Wong
On Thursday 27 February 2003 00:08, 1LT John W. Holmes wrote: > Dude... honestly, lay off the coffee and learn to type. Shouldn't that be cigars? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applica

[PHP] Too many connections - MySQL

2003-02-26 Thread Stephen Craton
On this site, www.roempire.com, which we host, they are having problems with too many connections. I think that someone messed with the GRANT option. How can we reverse this and allow unlimited connections per site? Or is this a problem with the script? Thanks, Stephen Craton http://www.melchior

Re: [PHP] Version control, Bug Reporting, Forum, Mailing List

2003-02-26 Thread Adam Voigt
According to that website, it requires Postgres, not MySQL. On Wed, 2003-02-26 at 12:06, Chris Shiflett wrote: --- Christopher Hilling <[EMAIL PROTECTED]> wrote: > Hi - I am trying to find an application which has the following creditials > > Version cont

Re: [PHP] to Bryan Lipscy Re: [PHP] mysql trouble

2003-02-26 Thread Jason Wong
On Thursday 27 February 2003 01:00, Luis A wrote: > $link = mysql_connect("localhost", "nobody"); > mysql_select_db("mydb", $link); > $result = mysql_query("SELECT * FROM opina", $link); > echo "Nombre: ".mysql_result($result, 0, "nombre").""; [snip] You need to use the mysql_fetch_*() function

Re: [PHP] Version control, Bug Reporting, Forum, Mailing List

2003-02-26 Thread Chris Shiflett
--- Christopher Hilling <[EMAIL PROTECTED]> wrote: > Hi - I am trying to find an application which has the following creditials > > Version control - including extensions > Bug reporting - including email submission > Forum - for multiple projects > Mailing list - for multiple projects > Language

[PHP] to Bryan Lipscy Re: [PHP] mysql trouble

2003-02-26 Thread Luis A
i dont know whyyy he does not inser into the databse the values ?? take a look aparently hje works all rigth but when i present this var "; echo "Pais: ".mysql_result($result, 0, "pais").""; echo "Provincia: ".mysql_result($result, 0, "provincia").""; echo "URL :".mysql_result($result,

Re: [PHP] Directory Permissions?

2003-02-26 Thread Chris Shiflett
--- Jay Paulson <[EMAIL PROTECTED]> wrote: > I was running fileperms() function to find out what a directory is > chmod'ed to. Just so you know, chmod is "change mode". I understand what you mean, though; you are wanting to know the permissions of a directory. > However, this doesn't return anyth

Re: [PHP] Splitting up big strings

2003-02-26 Thread Jason Wong
On Thursday 27 February 2003 00:54, {R}ichard Ashton wrote: > I have the body ov a Usnet article, all of it, in $body. I want to > split it into lines. > > I have tried > > $lines = explode( X, $body); > > where I have used > > X = "0x0A" > X = '0x0A' > X = "0x0D" > X = '0x0A' > X = "\r" Try "\n".

Re: [PHP] question on text file reading.

2003-02-26 Thread Chris Shiflett
--- David Banning <[EMAIL PROTECTED]> wrote: > The company I am working with is using an old database, which > doesn't even support memo field beyond 256 characters, so it is probably > too difficult, and not worth trying to interface the database with php. > > I was wondering how easy it would b

[PHP] Version control, Bug Reporting, Forum, Mailing List

2003-02-26 Thread Christopher Hilling
Hi - I am trying to find an application which has the following creditials Version control - including extensions Bug reporting - including email submission Forum - for multiple projects Mailing list - for multiple projects Language - php Database - mySQL OS - windows and apachie UI - skinable Ve

  1   2   >