Re: [PHP] Apache user can't use exec(), passthru(), etc.

2005-03-22 Thread Richard Lynch
On Mon, March 21, 2005 8:20 pm, Jim Poserina said: > If I run this PHP script: > echo ''; > echo exec('whoami'); The first most biggest thing wrong is that you aren't using the additional arguments to exec() to find out what your output is, and if your command generated an error. For starters, I

Re: [PHP] [semi OT]: Planning projects

2005-03-22 Thread Burhan Khalid
Chris W. Parker wrote: Jay Blanchard on Tuesday, March 22, 2005 4:47 AM said: +1 for pencil & paper or whiteboard. And in the words of Obi Jay, "Use the flowchart Chris" I would very much like to use flowcharts but I haven't been able to use them effectively yet. Th

Re: [PHP] Re: fopen

2005-03-22 Thread Richard Lynch
On Mon, March 21, 2005 9:29 pm, John Taylor-Johnston said: >> > flock($results, 2); #lock file for writing >> > fwrite($results, $filestr); #write $filestr to $results >> > flock($results, 3); #unlock file >> > fclose($results); #close file >> This is an incorrect way to try to flock a file fo

Re: [PHP] GIF instead of JPG..

2005-03-22 Thread Andras Kende
> Hi, > I found this beautiful piece of code on the php site which make a > proportional thumbnail, problem is its only working with JPEG files...and > not with GIFs, can someone please help me convert it to GIF too? > > I tried but got a bit confused as there are no functions that are equal to >

Re: [PHP] Why not @ ?

2005-03-22 Thread Richard Lynch
On Tue, March 22, 2005 3:42 am, Mário Gamito said: > If you care to take a peak at http://www.dte.ua.pt/cv/ > and pass your mouse over the link "Mário Gamito", you'll see in the > status bar that the link is: > > http://www.dte.ua.pt/cv/[EMAIL PROTECTED] > > Allright. > > However, if you click and

RE: [PHP] seraching / indexing in php

2005-03-22 Thread Richard Lynch
On Tue, March 22, 2005 7:01 am, Reinhart Viane said: > One question: on most of these search engines I can't seem to find if the > index and search dynamically generated pages. Search engines do not generally index a page they can detect is dynamically generated. That means pages that have ? in

RE: [PHP] [semi OT]: Planning projects

2005-03-22 Thread Richard Lynch
On Tue, March 22, 2005 8:58 am, Chris W. Parker said: > Jay Blanchard > on Tuesday, March 22, 2005 4:47 AM said: > >> +1 for pencil & paper or whiteboard. And in the words of Obi Jay, "Use >> the flowchart Chris" > > I would very much like to use flowcharts but I have

Re: [PHP] php: "else if" problem

2005-03-22 Thread Richard Lynch
On Tue, March 22, 2005 1:47 pm, M. Sokolewicz said: > read the manual, you can use both ("else if" and "elseif"). > > The script does exactly what you tell it to. The flaw(s) is(/are) in > your logic. "else if" and "elseif" are not exactly the same, as the manual indicates (and glosses over a bit)

Re: [PHP] count with match probelm

2005-03-22 Thread Richard Lynch
On Tue, March 22, 2005 11:30 pm, Ryan A said: > $q=mysql_query("select cno,date_and_time,MATCH(ad_sub, ad_text) > AGAINST('$words') AS score from ".$tcname."ads WHERE MATCH(ad_sub, > ad_text) > AGAINST('$words') AND is_confirmed=1 LIMIT $limit1, $limit2"); This is pretty much a MySQL question, rea

Re: [PHP] Problems with epoch date before 1970 on PHP 4.3.1

2005-03-22 Thread Richard Lynch
On Tue, March 22, 2005 2:56 pm, Dan Rossi said: > Hi there we have discovered a bug when trying to format a date which is > before 1970 on one of our servers running PHP 4.3.1 , it will convert > the 1966 year to 1970, is there any possible workaround for this ? E. Unix epoch dates start with

Re: [PHP] Help! configure Apache as a proxy

2005-03-22 Thread Richard Lynch
On Tue, March 22, 2005 3:30 pm, [EMAIL PROTECTED] said: > I configured a Apache server as a proxy. > But it's very slow. when I use this server connect internet it is NOT so > slow. > I think it ss because,my config has some error! > Who can help me? WILD GUESS You've got Apache configured to do

Re: [PHP] Borrowed code- how to give credit

2005-03-22 Thread Richard Lynch
On Tue, March 22, 2005 4:54 pm, C Drozdowski said: > I used a single line of code (ver batim) from a pear class in my own > code. I try to always be honest and not steal code but this single line > does exactly what I need. The code is for a NPO website and will never > be sold or anything like tha

Re: [PHP] GIF instead of JPG..

2005-03-22 Thread Richard Lynch
On Wed, March 23, 2005 5:30 am, Ryan A said: > Hi, > I found this beautiful piece of code on the php site which make a > proportional thumbnail, problem is its only working with JPEG files...and > not with GIFs, can someone please help me convert it to GIF too? > > I tried but got a bit confuse

RE: [PHP] GIF instead of JPG..

2005-03-22 Thread Mike
> Hi, > I found this beautiful piece of code on the php site which > make a proportional thumbnail, problem is its only working > with JPEG files...and not with GIFs, can someone please help > me convert it to GIF too? > If your version of GD supports GIFs (which not all do), then it's almost

Re: [PHP] seraching / indexing in php

2005-03-22 Thread Forest Liu
or you can have a try on google:) "xx site:www.yours.com" On Tue, 22 Mar 2005 15:47:01 +0100, Reinhart Viane <[EMAIL PROTECTED]> wrote: > I'm looking for a script which indexes the pages of a site (dynamic pages) > in a dbase and makes it possible to search the site based on > keywords/senten

[PHP] GIF instead of JPG..

2005-03-22 Thread Ryan A
Hi, I found this beautiful piece of code on the php site which make a proportional thumbnail, problem is its only working with JPEG files...and not with GIFs, can someone please help me convert it to GIF too? I tried but got a bit confused as there are no functions that are equal to "imagecreatetr

Re: [PHP] Passing Arrays between pages

2005-03-22 Thread Josh Whiting
> >Please can someone tell me how you pass arrays between PHP pages. > > $var = serialize($testArray); > echo ""; > > Then unserialize the variable on the receiving page. To this you might also add an MD5 hash to check for authenticity, depending on what you're doing with that incoming data that

Re: [PHP] Borrowed code- how to give credit

2005-03-22 Thread Bryan
You can add as many remarks as you want... It won't show up in the code or mess it up. Just say something like "/* The next line of code came from my PEAR class. I did not create it, it was something we created in class. Just giving credit where credit is due */" I myself, wouldn't care. I

[PHP] Borrowed code- how to give credit

2005-03-22 Thread C Drozdowski
Hey, I used a single line of code (ver batim) from a pear class in my own code. I try to always be honest and not steal code but this single line does exactly what I need. The code is for a NPO website and will never be sold or anything like that. How should I give credit for the line of code i

RE: [PHP] send email sample

2005-03-22 Thread issin
PHPer, Sorry, I caused a lot of trouble to you. Because my company block 80 port, only use email. Thanks for your help. John Taylor-Johnston wrote: > Burhan Khalid wrote: > > >>> Can you give me a send email sample? >> >>RTFM : http://www.php.net/manual/en/funct

Re: [PHP] Notice: Undefined offset: 3 in ..........

2005-03-22 Thread Rasmus Lerdorf
PartyPosters wrote: Hello, Please could someone tell me why I am getting (Notice: Undefined offset: 3 in ..) from using this code. for ($i=0; $i<=3; $i++){ mysql_query("INSERT INTO shipped(userID, productID, distID, username,ship_company, ship_add1,ship_add2) VALUES(1, '$productID','$v_d

[PHP] Notice: Undefined offset: 3 in ..........

2005-03-22 Thread PartyPosters
Hello, Please could someone tell me why I am getting (Notice: Undefined offset: 3 in ..) from using this code. for ($i=0; $i<=3; $i++){ mysql_query("INSERT INTO shipped(userID, productID, distID, username,ship_company, ship_add1,ship_add2) VALUES(1, '$productID','$v_distIDArray[$i]',

Re: [PHP] Passing Arrays between pages

2005-03-22 Thread PartyPosters
Thanks for all your help!!! managed it with - $testArray = implode('|', $testArray); On next page: $testArray = explode('|', $testArray); - Original Message - From: <[EMAIL PROTECTED]> To: "PartyPosters" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, March 22, 2005 10:06 PM Subject: Re: [PHP] P

Re: [PHP] Re: cache class

2005-03-22 Thread Mister Jack
Many thanks for all the answers. I've checked that I was saving the right file (I even think about it !), and even if I'm using Templeet (sort of smarty http://templeet.org ) i've disabled all cache, and this code is only PHP not template-language. I've checked the error.log, and it just said that

[PHP] Help! configure Apache as a proxy

2005-03-22 Thread shimuqiheb
I configured a Apache server as a proxy. But it's very slow. when I use this server connect internet it is NOT so slow. I think it ss because,my config has some error! Who can help me? thank you Listen 8086 ProxyRequests On ProxyVia On ProxyRemote * http://192.168.1.9:8080 NoProxy 192.0.0.0/8 A

Re: [PHP] Session destroy/unset question - the same session_id is regenerated.

2005-03-22 Thread Chris Shiflett
Ken wrote: After unsetting and destroying the session, the same sid is generated. No session identifier is generated at this point. This generation only happens when there is no identifier presented by the client, or when you explicitly regenerate it using something like session_regenerate_id().

RE: [PHP] access violation

2005-03-22 Thread Rob Agar
hi Leif Glad to know I'm not the only one ;) > The only system stuff we have in common is the OS. The > webserver is Sambar, and PHP is 5.0.3. It didn't start having > this issue till I updated the PHP to 5.0.3, so I'm going to > reinstall it at some point to see if that helps any. That's int

[PHP] Help! configure Apache as a proxy

2005-03-22 Thread shimuqiheb
I configured a Apache server as a proxy. But it's very slow. when I use this server connect internet it's NOT so slow. I think it's because,my config has some error! Who can help me? thank you Listen 8086 ProxyRequests On ProxyVia On ProxyRemote * http://192.168.1.9:8080 NoProxy 192.0.0.0/8 All

[PHP] Problems with epoch date before 1970 on PHP 4.3.1

2005-03-22 Thread Dan Rossi
Hi there we have discovered a bug when trying to format a date which is before 1970 on one of our servers running PHP 4.3.1 , it will convert the 1966 year to 1970, is there any possible workaround for this ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

Re: [PHP] [NEWBIE GUIDE] For the benefit of new members

2005-03-22 Thread Stan F
[snip] I feel we should add this to the rules. Dunno about the others, but it really drives mad to delete bunches of emails with equal contents posted within 5 minute interval. --- Please avoid sending duplicate letters to the list. If you feel your email was not delivered properly or no-one noti

[PHP] count with match probelm

2005-03-22 Thread Ryan A
Hi, I am running this kind of a statement: $q=mysql_query("select cno,date_and_time,MATCH(ad_sub, ad_text) AGAINST('$words') AS score from ".$tcname."ads WHERE MATCH(ad_sub, ad_text) AGAINST('$words') AND is_confirmed=1 LIMIT $limit1, $limit2"); which is running fine...my problem is I am using a

Re: [PHP] Re: [suspicious - maybe spam] [ PHP] [suspicious - maybe spam] RE: [ suspicious - maybe spam] [PHP] [suspici ous - maybe spam] Résultats sur plusieurs pages

2005-03-22 Thread Jordi Canals
Please, This is an English list. I'll thank if you can write plain english on it. Thanks. On Tue, 22 Mar 2005 21:18:06 +0100, Aurélien Cabezon <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mike Johnson wrote: > > | Si je lis votre question correctement, vous

Re: [PHP] Passing Arrays between pages

2005-03-22 Thread [EMAIL PROTECTED]
1. you can put your array in string using implode() function and on next page create the array back using explode() function. $testArray = implode('|', $testArray); # you will get: "Apple|Banana|Peach" On next page: $testArray = explode('|', $testArray); 2. use serialize()/unserialize() functio

Re: [PHP] Passing Arrays between pages

2005-03-22 Thread Larry E . Ullman
Please can someone tell me how you pass arrays between PHP pages. $var = serialize($testArray); echo ""; Then unserialize the variable on the receiving page. Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Passing Arrays between pages

2005-03-22 Thread PartyPosters
Hello, Please can someone tell me how you pass arrays between PHP pages. I have tried something like this and have tried many variations of this but nothing working yet ; Page 1 $testArray[0] =Apple; $testArray[1] =Banana; $testArray[2] =Peach; echo ""; Page2 echo $testArray[1]; On different

Re: [PHP] Re: here is the problem again

2005-03-22 Thread M. Sokolewicz
Chris W. Parker wrote: AndreaD on Tuesday, March 22, 2005 12:25 PM said: The cookie will not/set or print out. http://www.aztechost.com/problem.phps setcookie("cookie[$name]", $age); echo $_COOKIE[$name]; I think it should be: think again setcookie("cook

Re: [PHP] php: "else if" problem

2005-03-22 Thread M. Sokolewicz
read the manual, you can use both ("else if" and "elseif"). The script does exactly what you tell it to. The flaw(s) is(/are) in your logic. Second of all, might I please advise you to have a good look at your code, and at least *try* to clean it up a bit? I'm sure you didn't mean it like this,

RE: [PHP] Re: here is the problem again

2005-03-22 Thread Chris W. Parker
AndreaD on Tuesday, March 22, 2005 12:25 PM said: > The cookie will not/set or print out. > http://www.aztechost.com/problem.phps setcookie("cookie[$name]", $age); echo $_COOKIE[$name]; I think it should be: setcookie("cookie[$name]", $age); echo $_C

Re: [PHP] php: "else if" problem

2005-03-22 Thread Franklin van de Meent
In PHP you should write it as "} elseif {", so there's no space between else and if. Read http://php.net/elseif for more details On Tue, 22 Mar 2005 22:48:00 +0200, Leonidas Savvides <[EMAIL PROTECTED]> wrote: > to: 'php-general@lists.php.net' > > from: Leonidas Savvides > > Please see my pro

[PHP] Re: here is the problem again

2005-03-22 Thread AndreaD
The cookie will not/set or print out. "AndreaD" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > http://www.aztechost.com/problem.phps -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTML - to - PDF

2005-03-22 Thread Chris Boget
> Hi All, I have some reports I need converted from HTML to PDF, I'm on a > LAMP box, so does anyone have any free suggestions? Google htmldoc thnx, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] HTML - to - PDF

2005-03-22 Thread Matt Babineau
Hi All, I have some reports I need converted from HTML to PDF, I'm on a LAMP box, so does anyone have any free suggestions? Thanks, Matt Babineau Criticalcode w: http://www.criticalcode.com p: 858.733.0160 e: [EMAIL PROTECTED]

[PHP] php: "else if" problem

2005-03-22 Thread Leonidas Savvides
to: 'php-general@lists.php.net' from: Leonidas Savvides Please see my problem below in PHP code : _ = $tsd ) { // "$tsd"=time stamp drop off date include_once ("wrongpickupdate.htm"); } else if ( $days >= 60 ) { // "$days" var come from "$tsd" & "$

[PHP] Re: [suspicious - maybe spam] [PHP] [suspicious - maybe spam] RE: [suspicious - maybe spam] [PHP] [suspicious - maybe spam] Résultats sur plusieurs pages

2005-03-22 Thread Aurélien Cabezon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Johnson wrote: | Si je lis votre question correctement, vous desire paginez votre | resultats. Vous avez besoin le nombre de records dans l'ensemble de | resultat. Si vous desire montrer dix resultat dans chaque page, | ajoutez un clause LIMIT a vo

[PHP] Re: cache class

2005-03-22 Thread Jeremiah Fisher
I usually encounter this when there's an error of some sort. Tail your error log and see if the apache child thread is seg faulting (if you're using httpd). The web server may still be up, but your code is causing the particular connection to fail. Because the connection just dies, the browser

[suspicious - maybe spam] [PHP] [suspicious - maybe spam] RE: [suspicious - maybe spam] [PHP] [suspicious - maybe spam] Résultats sur plusieurs pages

2005-03-22 Thread Mike Johnson
From: clariond jean claude [mailto:[EMAIL PROTECTED] > Bonjour, > J'utilise PHP et MySQL grâce à EasyPHP sous WindowsXP. > J'ai réussi à modifier un programme php pour pouvoir > l'utiliser à gérer un dictionnaire d'une langue locale, dont > vous avez une phrase ci-dessous. > L'interogation de l

[suspicious - maybe spam] [PHP] [suspicious - maybe spam] Résultats sur plusieurs pages

2005-03-22 Thread clariond jean claude
Bonjour, J'utilise PHP et MySQL grâce à EasyPHP sous WindowsXP. J'ai réussi à modifier un programme php pour pouvoir l'utiliser à gérer un dictionnaire d'une langue locale, dont vous avez une phrase ci-dessous. L'interogation de la base de données peut donner suivant les cas, un grand nombre de r

Re: [PHP] [semi OT]: Planning projects

2005-03-22 Thread Justin Lilly
Well this one hasn't been offered yet: I just subscribed to php|architect and there was an article in either the Feb or March issue (I got them 1 day apart so I don't remember off hand) about a system of design. I'll try not to give too much away, but it used index cards. The index cards each repr

[PHP] Re: cant get this to work at all

2005-03-22 Thread AndreaD
http://www.aztechost.com/problem.phps "AndreaD" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Fairly new to php and just working my way around it. > > I have the text boxes and want to retrieve the values using a foreach. > > > Many thanks, > > > AD > > -- PHP General Mailing Li

[PHP] here is the problem again

2005-03-22 Thread AndreaD
http://www.aztechost.com/problem.phps -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: cant get this to work at all

2005-03-22 Thread Jason Barnett
Paste the code to a pastebin site... or use .phps extension for the PHP code and leave it on your server for us to look at it. -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://php.net/manual/en

Re: [PHP] Postgresql & PHP

2005-03-22 Thread Richard Davey
Hello Danny, Tuesday, March 22, 2005, 6:07:55 PM, you wrote: DB> Any recommendations on books for postgresql & PHP usage. Just get a good book on Postgres, the PHP side of it can be easily picked-up from the PHP manual itself. Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP

[PHP] Postgresql & PHP

2005-03-22 Thread Danny Brow
Any recommendations on books for postgresql & PHP usage. Thanks, Dan. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cant get this to work at all

2005-03-22 Thread AndreaD
Fairly new to php and just working my way around it. I have the text boxes and want to retrieve the values using a foreach. Many thanks, AD begin 666 problem.php M/#]P:' -"@T*:[EMAIL PROTECTED]&ESPT*(" @7!E M/2)T97AT(B!C;&%S'1?9FEE;&0B(&ED/2)C;V]K:65; M:F%M97-=(B!V86QU93TB(B!S:7IE/2(Q(B!M87

Re: [PHP] Getting form name

2005-03-22 Thread Leif Gregory
Hello j, Tuesday, March 22, 2005, 10:13:50 AM, you wrote: j> I'm trying to get the name of a form. I tried the following code, j> but I guess the data in $_POST only contains data on the form j> elements that go inside the form tags, but not info from the form j> tag itself. Any suggestions on how

Re: [PHP] Getting form name

2005-03-22 Thread Richard Davey
Hello, Tuesday, March 22, 2005, 5:13:50 PM, you wrote: jk> I'm trying to get the name of a form. I tried the following code, but jk> I guess the data in $_POST only contains data on the form elements jk> that go inside the form tags, but not info from the form tag itself. jk> Any suggestions on h

[PHP] Getting form name

2005-03-22 Thread j kensler
I'm trying to get the name of a form. I tried the following code, but I guess the data in $_POST only contains data on the form elements that go inside the form tags, but not info from the form tag itself. Any suggestions on how to get the form name? $value) { echo $key . "---" . $value . ""; } e

RE: [PHP] Building modular applications (long)

2005-03-22 Thread Chris W. Parker
Brent Baisley on Tuesday, March 22, 2005 6:41 AM said: > In your case, you are just saying the modules > aren't there rather than being restricted. Your idea for having a > script that would build the menu is good for a system with user level > restrictions because t

RE: [PHP] [semi OT]: Planning projects

2005-03-22 Thread Chris W. Parker
Jay Blanchard on Tuesday, March 22, 2005 4:47 AM said: > +1 for pencil & paper or whiteboard. And in the words of Obi Jay, "Use > the flowchart Chris" I would very much like to use flowcharts but I haven't been able to use them effectively yet. That is, I'm not sure

Re: [PHP] Full-text searches sucks?

2005-03-22 Thread Ryan A
Hey, > > I dont want to do that as its only mysql 4.1+ compatable, > > IN BOOLEAN MODE was added in version 4.0.1 not 4.1, for what it's > worth. Oops, thats what i meant. The problem is a LOT of hosts are still on 3.23.xx so I dont want to do the BOOLEAN MODE thing. -Ryan On 3/21/2005 8:51:

Re: [PHP] [semi OT]: Planning projects

2005-03-22 Thread Jason Barnett
> > what are design patterns? > http://phppatterns.com -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://php.net/manual/en/index.php STFW | http://www.google.com/search?q=php LAZY | http://mycr

Re: [PHP] cache class

2005-03-22 Thread Jason Barnett
To add to the discussion: are you using anything like the Zend performance cache? MMTurck? Smarty? I ask because there are various programs out there (some PHP-based, some not) that will cache PHP code. -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA |

Re: [PHP] [semi OT]: Planning projects

2005-03-22 Thread symbulos partners
Brent Baisley wrote: > I remember reading that UML was fairly complex. Although brief reading > up on it, it didn't seem all that hard. I think the next version is > supposed to be simpler. I made a decision about 6 months wether I was > going to learn UML or design patterns next. I chose design p

[PHP] Re: Session destroy/unset question - the same session_id is regenerated.

2005-03-22 Thread Jason Barnett
You probably need to eat the session cookie in addition to destroying the session. -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://php.net/manual/en/index.php STFW | http://www.google.com/se

RE: [PHP] cache class

2005-03-22 Thread Mike Johnson
From: Mister Jack [mailto:[EMAIL PROTECTED] > Hi, > > I'm having a bit of a problem. > I include a class in my script, the first time run fine, and then if I > change anything in my class, changes are not reflected on the browser, > it's like it's still the old class which is used. I've cleared

Re: [PHP] Different approach?

2005-03-22 Thread John Taylor-Johnston
Thanks! Needed to know that! :) John Josh Whiting wrote: > > $sql = "INSERT INTO $table > > (StudentNumber,Exercise1,Exercise2) values > > ('$StudentNumber','$Exercise1','$Exercise2')"; > > > > mysql_select_db($db,$myconnection); > > mysql_query($sql) or die(print mysql_error()); > > > > your exa

[PHP] cache class

2005-03-22 Thread Mister Jack
Hi, I'm having a bit of a problem. I include a class in my script, the first time run fine, and then if I change anything in my class, changes are not reflected on the browser, it's like it's still the old class which is used. I've cleared the browser cache, force a pragma no-cache, but no, nothin

RE: [PHP] seraching / indexing in php

2005-03-22 Thread Reinhart Viane
Thanks Frank, One question: on most of these search engines I can't seem to find if the index and search dynamically generated pages. The intention is to make a site where several users have one page each which they can edit on there own. Do you think most of those engines can index pages like t

Re: [PHP] seraching / indexing in php

2005-03-22 Thread Frank Arensmeier
Hello! I suggest you take a look at: http://www.phpdig.net/ Regards, Frank 2005-03-22 kl. 15.47 skrev Reinhart Viane: I'm looking for a script which indexes the pages of a site (dynamic pages) in a dbase and makes it possible to search the site based on keywords/sentences/etc. Does anyone has any

[PHP] seraching / indexing in php

2005-03-22 Thread Reinhart Viane
I'm looking for a script which indexes the pages of a site (dynamic pages) in a dbase and makes it possible to search the site based on keywords/sentences/etc. Does anyone has any experience with such scripts and which do they recommend? Thx in advance Reinhart

Re: [PHP] Building modular applications (long)

2005-03-22 Thread Brent Baisley
You may want to look into design patterns. This will help you create applications that adapt to change well. When designing your application, figure out what changes when a module is present and separate it out. Find out what every module will use and group that together. You're going to want d

Re: [PHP] access violation

2005-03-22 Thread Leif Gregory
Hello Rob, Monday, March 21, 2005, 10:32:36 PM, you wrote: R> Anyone else had a problem like this? I couldn't find anything in the R> php or apache bug databases that sounded like the same problem. R> Windows XP pro SP2 R> Apache/1.3.33 (Win32) R> PHP/4.3.10 I have something similar on one web

Re: [PHP] Why not @ ?

2005-03-22 Thread Mário Gamito
Hi Richard, Thanks a lot for your tip and explanation. It did worked :) Warm Regards, Mário Gamito Richard Davey wrote: Hello Mário, Tuesday, March 22, 2005, 11:42:13 AM, you wrote: MG> However, if you click and go to the respective page, you'll see that the MG> "@" is switched by "%40". Yes, becau

Re: [PHP] [semi OT]: Planning projects

2005-03-22 Thread Brent Baisley
I remember reading that UML was fairly complex. Although brief reading up on it, it didn't seem all that hard. I think the next version is supposed to be simpler. I made a decision about 6 months wether I was going to learn UML or design patterns next. I chose design patterns, and really think

[PHP] [NEWBIE GUIDE] For the benefit of new members

2005-03-22 Thread Jay Blanchard
= Please feel free to add more points and send to the list. 20050322jb - Note the new location of PHP Editors list. = 1. If you have any queries/problems about PHP try http://www.php.ne

RE: [PHP] [semi OT]: Planning projects

2005-03-22 Thread Jay Blanchard
[snip] So my question has to do with planning a project (not necessarily a website in general, but a programming project specifically). I've got Visio 2003 and a pad of paper with a pencil. I'm pretty much willing to try out different methods although I prefer a visual approach. [/snip] +1 for pen

Re: [PHP] Why not @ ?

2005-03-22 Thread Richard Davey
Hello Mário, Tuesday, March 22, 2005, 11:42:13 AM, you wrote: MG> However, if you click and go to the respective page, you'll see that the MG> "@" is switched by "%40". Yes, because you are URL encoding it, which does exactly that. Put a space into an email address and you'd see a %20 instead, e

[PHP] Session destroy/unset question - the same session_id is regenerated.

2005-03-22 Thread Ken
After unsetting and destroying the session, the same sid is generated. is this a normal behaviour? i did this: session_start() //kill session variables unset($_SESSION); session_destroy(); Thanks in advance ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP] Why not @ ?

2005-03-22 Thread Marcus Joyce
It was curious to me, but I did a right click view source and here is your %40. http://www.dte.ua.pt/cv/cv_show.php?email=gamito%40gmail.com";>Mário Gamito well if your source code when you upload says @, then i can only imagin its being rendered on the server, otherwise every mailto:[EMAIL PROT

Re: [PHP] spot the mistake??

2005-03-22 Thread AndreaD
there is a hidden field called submitte "Chris Ramsay" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [snip] >> if (isset($submitted)){ > [/snip] > s...what sets $submitted then? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

Re: [PHP] XML & HTTP

2005-03-22 Thread Jerry Swanson
It is SOAP. I read tutorial on w3 website. Have one more question: The data that is exchange in SOAP protocol is encrypted or not? Thanks On Mon, 21 Mar 2005 17:32:59 -0800 (PST), Richard Lynch <[EMAIL PROTECTED]> wrote: > On Fri, March 18, 2005 11:14 am, Jerry Swanson said: > > I create XML f

[PHP] Why not @ ?

2005-03-22 Thread Mário Gamito
Hi, If you care to take a peak at http://www.dte.ua.pt/cv/ and pass your mouse over the link "Mário Gamito", you'll see in the status bar that the link is: http://www.dte.ua.pt/cv/[EMAIL PROTECTED] Allright. However, if you click and go to the respective page, you'll see that the "@" is switched

Re: [PHP] spot the mistake??

2005-03-22 Thread Chris Ramsay
[snip] > if (isset($submitted)){ [/snip] s...what sets $submitted then? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mod_ssl + php4-curl interaction problem ... ?

2005-03-22 Thread Burhan Khalid
Marc G. Fournier wrote: As a follow up to this, I just installed curl 7.12.3_2, to see if going back a version would fix the problem, and it does ... apache with curl enabled now works again beside SSL ... Not sure where the bug is, but the newer version of curl appears to have a problem with

Re: [PHP] re-setting all cookies

2005-03-22 Thread Burhan Khalid
Ken wrote: /*From the php manual $arr = array(1, 2, 3, 4); foreach ($arr as &$value) { $value = $value * 2; } */ $_COOKIE is a variable... but you need the key for setcookie(). so you can do: foreach($_COOKIE as $key => $value){ setcookie("$key","", time()-3600); } i know there is the $value

Re: [PHP] remove space

2005-03-22 Thread Chris Ramsay
[snip] > How can I remove a space character from variable value. [/snip] Take a look at preg_replace, for example... RTFM @ http://www.php.net/preg_replace ;) chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] remove space

2005-03-22 Thread Kim Madsen
> -Original Message- > From: William Stokes [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 22, 2005 10:49 AM > How can I remove a space character from variable value. > > for example: > change > $name = "John Doe"; > to > $name = "JohnDoe"; > > The blank space needs to be removed from

[PHP] remove space

2005-03-22 Thread William Stokes
Hello, How can I remove a space character from variable value. for example: change $name = "John Doe"; to $name = "JohnDoe"; The blank space needs to be removed from the string. How? Thanks a lot! _will -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

RE: [PHP] php.ini file

2005-03-22 Thread Kim Madsen
> -Original Message- > From: Burhan Khalid [mailto:[EMAIL PROTECTED] > Sent: Monday, March 21, 2005 2:05 PM > > Hopefully not! Files in /tmp are deleted in most *NIX variants, this is > > a _bad_ idea and the name of the folder pretty much tell You so... > > > > Default path is /usr/local

Re: [PHP] re-setting all cookies

2005-03-22 Thread Ken
/*From the php manual $arr = array(1, 2, 3, 4); foreach ($arr as &$value) { $value = $value * 2; } */ $_COOKIE is a variable... but you need the key for setcookie(). so you can do: foreach($_COOKIE as $key => $value){ setcookie("$key","", time()-3600); } i know there is the $value bit that

[PHP] re-setting all cookies

2005-03-22 Thread AndreaD
I want a button that resets all my cookies. Can I reset them all with a foreach command? AD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php