Re: [PHP] mod_rewrite, apache2, php5RC1 and osx bsd

2005-11-09 Thread Dan Rossi
On 10/11/2005, at 4:18 PM, Curt Zirzow wrote: On Thu, Nov 10, 2005 at 03:36:07PM +1100, Dan Rossi wrote: Hi there, ive been having issues with mod_rewrite and apache2 with PHP 5.1RC1. I have googled the php bugs and people have been experiencing the same issue however the php people cant see t

Re: [PHP] mod_rewrite, apache2, php5RC1 and osx bsd

2005-11-09 Thread Curt Zirzow
On Thu, Nov 10, 2005 at 03:36:07PM +1100, Dan Rossi wrote: > Hi there, ive been having issues with mod_rewrite and apache2 with PHP > 5.1RC1. I have googled the php bugs and people have been experiencing > the same issue however the php people cant see to reproduce the bug. > Its most definately

Re: [PHP] Error in reading and writing bytes

2005-11-09 Thread Curt Zirzow
On Wed, Nov 09, 2005 at 08:23:04PM -0800, kumar kumar wrote: > Hi > i am new to PHP .I am facing some problems . > Here is the code below > > Here the applet will send the files thru http . files > from 30 bytes to 2 GB. > > > > $getdata = fopen("php://input", "r"); > ... > > while (s

[PHP] mod_rewrite, apache2, php5RC1 and osx bsd

2005-11-09 Thread Dan Rossi
Hi there, ive been having issues with mod_rewrite and apache2 with PHP 5.1RC1. I have googled the php bugs and people have been experiencing the same issue however the php people cant see to reproduce the bug. Its most definately doing it for me, here is a rewrite rule i have setup, if i [L] to

[PHP] Re: php5 / php4 - MySQL/SQLite

2005-11-09 Thread Oliver Grätz
Danny schrieb: > Let me open a discussion about php5 / php4 Fine. Let's keep it short ;-) > Why upgrade? Because you want support for proper OOP. Most of the other changes can be like SQLite can also be used with PHP4. > It worth? If you see the benefits of interfaces, object overloading, auto

[PHP] Error in reading and writing bytes

2005-11-09 Thread kumar kumar
Hi i am new to PHP .I am facing some problems . Here is the code below Here the applet will send the files thru http . files from 30 bytes to 2 GB. $val) { $default=$default.$val; if(!file_exists($default)) if (!mkdir($default,$dirmode)) {

[PHP] Error in reading and writing bytes

2005-11-09 Thread kumar kumar
Hi i am new to PHP .I am facing some problems . Here is the code below Here the applet will send the files thru http . files from 30 bytes to 2 GB. $val) { $default=$default.$val; if(!file_exists($default)) if (!mkdir($default,$dirmode)) {

Re: [PHP] Re: Select and $_POST

2005-11-09 Thread Chris Shiflett
Ben Ramsey wrote: $clean = array(); $sql = array(); Glad to see someone spreading this habit. :-) Thanks, Ben. if (ctype_alnum($_POST['pass'])) { $clean['pass'] = $_POST['pass']; } I think it's fine to cheat a bit with the password and trust the output format of md5(): $clean['pass

Re: [PHP] Gotta learn asp.net...

2005-11-09 Thread Esteamedpw
VTC.com has some ASP tutorials... you can get their Monthly "University" program for $30.00 a month?

[PHP] Gotta learn asp.net...

2005-11-09 Thread Joseph Szobody
*sigh* I'm a hardcore PHP programmer.. I've been using it for over five years now, and would consider myself fairly advanced. I have a project where I'm being forced to do some ASP.NET development, which I've never touched. I need to learn it fast. I'm thinking there must be some other folks ar

Re: [PHP] Select and $_POST

2005-11-09 Thread Curt Zirzow
On Wed, Nov 09, 2005 at 11:21:36PM -, Ross wrote: > > What is the correct syntax for > > $query = "SELECT * FROM login where username='$_POST['username']' AND pass > ='$_POST['pass']'"; > http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Select and $_POST

2005-11-09 Thread Chris Shiflett
Ross wrote: $query = "SELECT * FROM login where username='$_POST['username']' AND pass ='$_POST['pass']'"; You have to use curly braces in order to interpolate an array: $string = "...{$array['foo']} ..."; By the way, my favorite username is this: chris' -- That's what all my friends call m

Re: [PHP] Select and $_POST

2005-11-09 Thread Terence
Ross wrote: What is the correct syntax for $query = "SELECT * FROM login where username='$_POST['username']' AND pass ='$_POST['pass']'"; Thought this would work. R. Search for "SQL Injection" and see why what you're doing is very dangerous. Google is your friend. -- PHP General Mail

[PHP] Re: Richard Lynch's Email Address ...

2005-11-09 Thread Ben Ramsey
On 11/9/05 7:20 PM, GamblerZG wrote: James Benson wrote: Would it not be better something like valid_email() email_validate()? Anyway, I agree that PHP needs such function. Check out http://pecl.php.net/package/filter I've been playing around with this for a while, and it should be note

[PHP] Re: Richard Lynch's Email Address ...

2005-11-09 Thread GamblerZG
James Benson wrote: Would it not be better something like valid_email() email_validate()? Anyway, I agree that PHP needs such function. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Select and $_POST

2005-11-09 Thread Ben Ramsey
On 11/9/05 6:21 PM, Ross wrote: What is the correct syntax for $query = "SELECT * FROM login where username='$_POST['username']' AND pass ='$_POST['pass']'"; Thought this would work. R. The correct syntax in this case is actually: $query = "SELECT * FROM login where username='{$_POST['u

Re: [PHP] Re: Richard Lynch's Email Address ...

2005-11-09 Thread GamblerZG
I'm using this, but I'm not sure whether it's bug-free: preg_match('/^([.0-9a-z_+-]+)@([0-9a-z-]+\.)+[0-9a-z]{2,6}$/i', $email); Note: IIRC, PEAR function will invalidate all adresses in museum TLD. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

RE: [PHP] Select and $_POST

2005-11-09 Thread Matt Babineau
$query = "SELECT * FROM login WHERE username = '".$_POST['username']."' AND pass = '". $_POST['pass']."'"; > What is the correct syntax for > > $query = "SELECT * FROM login where > username='$_POST['username']' AND pass ='$_POST['pass']'"; > > > Thought this would work. > > R. > > -- > P

[PHP] Select and $_POST

2005-11-09 Thread Ross
What is the correct syntax for $query = "SELECT * FROM login where username='$_POST['username']' AND pass ='$_POST['pass']'"; Thought this would work. R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Unable to send variables to MySQL table

2005-11-09 Thread M
Stewart Priest wrote: What is the structure of that table? +---+--+--+-+-+---+ | Field | Type | Null | Key | Default | Extra | +---+--+--+-+-+---+ | invoice_no| int(10) | YES |

Re: [PHP] java .vs php

2005-11-09 Thread Esteamedpw
Look at the Thousand and Thousands of vBulletin boards, PHPBB's and other PHP/MySQL based BB Systems out there with several thousand Members on at once, not including guests. I know Yahoo! uses PHP and I've heard Google does as well?

RE: [PHP] T_PAAMAYIM_NEKUDOTAYIM

2005-11-09 Thread Jim Moseby
> > Btw, Paamayim Nekudotayim means double colon in hebrew. > I suppose it would be an insult of the highest order to call a Hebrew man and his brother "Paamayim Nekudotayim". JM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] T_PAAMAYIM_NEKUDOTAYIM

2005-11-09 Thread tg-php
Yay! Useless Trivia Time! That big nasty word is apparently the name for "::". Here's a PHP manual page explaining how it's used. I'd recommend looking for a misuse of the "::" operator in your code. http://www.php.net/manual/en/keyword.paamayim-nekudotayim.php Enjoy! -TG = = = Original

Re: [PHP] T_PAAMAYIM_NEKUDOTAYIM

2005-11-09 Thread Unknown Unknown
Ah yes that fixed it, thanks

Re: [PHP] T_PAAMAYIM_NEKUDOTAYIM

2005-11-09 Thread Dan McCullough
t_paamayim_nekudotayim is Hebrew for term twice colon I believe that its saying that you need to use the :: operator. On 11/9/05, Unknown Unknown <[EMAIL PROTECTED]> wrote: > I was working with objects, and suddenly i got this error: > *Parse error*: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM

Re: [PHP] T_PAAMAYIM_NEKUDOTAYIM

2005-11-09 Thread Curt Zirzow
On Wed, Nov 09, 2005 at 04:27:08PM -0500, Unknown Unknown wrote: > I was working with objects, and suddenly i got this error: > *Parse error*: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in * > D:\Apache\Apache(re)\Apache2\htdocs\Include.php* on line *11* > is this like a bug in PHP or is it a

RE: [PHP] T_PAAMAYIM_NEKUDOTAYIM

2005-11-09 Thread Jay Blanchard
[snip] I was working with objects, and suddenly i got this error: *Parse error*: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in * D:\Apache\Apache(re)\Apache2\htdocs\Include.php* on line *11* is this like a bug in PHP or is it a valid error? thanks in advance [/snip] It means that you have two

Re: [PHP] Unable to send variables to MySQL table

2005-11-09 Thread Stewart Priest
What is the structure of that table? +---+--+--+-+-+---+ | Field | Type | Null | Key | Default | Extra | +---+--+--+-+-+---+ | invoice_no| int(10) | YES | | NULL| | | i

[PHP] T_PAAMAYIM_NEKUDOTAYIM

2005-11-09 Thread Unknown Unknown
I was working with objects, and suddenly i got this error: *Parse error*: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in * D:\Apache\Apache(re)\Apache2\htdocs\Include.php* on line *11* is this like a bug in PHP or is it a valid error? thanks in advance

Re[2]: [PHP] Creating PDF from a Image

2005-11-09 Thread Jens Schulze
Richard ([EMAIL PROTECTED]) wrote: > http://php.net/gd > This will let you imagecreatefromgif() and then imagejpeg() I didn't find any mentioning, that the imagejpeg function supports conversion to CMYK, so it is most liky that it will not help the original poster. ImageMagick is the way to go.

Re: [PHP] security code

2005-11-09 Thread lonewolf
www.phpclasses.org -> There was just one pushed out recently in fact. I am not sitting in front of my archive or I could give you a direct URL to it, but they have them there. If you can't find it there, email me back directly and I'll send the link when I get back from my conference. Robert --

Re: [PHP] Unable to send variables to MySQL table

2005-11-09 Thread lonewolf
I code all my apps to look for an empty variable and dump and empty set into it. That way when I code the rest of the information into the database, the files are cleaner and I don't have to worry about users and bad sets. $var = ''; Robert - Original Message - From: Stewart Priest <[EM

Re: [PHP] Unable to send variables to MySQL table

2005-11-09 Thread Dan McCullough
What is the structure of that table? On 11/9/05, Stewart Priest <[EMAIL PROTECTED]> wrote: > > print $add_to_db; > > > Thanks for all your replies! I didn't expect to get one so quick, so thanks! > > After I did the above, I pasted the output into MySQL. Guess what? It didn't > work! > > I was o

Re: [PHP] Unable to send variables to MySQL table

2005-11-09 Thread Stewart Priest
print $add_to_db; Thanks for all your replies! I didn't expect to get one so quick, so thanks! After I did the above, I pasted the output into MySQL. Guess what? It didn't work! I was only sending values for $item1_desc and $item1_cost. Because I was not sending values for the other columns, I

RE: [PHP] Unable to send variables to MySQL table

2005-11-09 Thread Jim Moseby
> > Any ideas? The code is below. > mysql_query($add_to_db); Hi Stewart. Your query is failing for some reason (as others here have mentioned). I would change the above line to read: mysql_query($add_to_db) or die(mysql_error()."$add_to_db"); This will make the script die, and will print the

Re: [PHP] Unable to send variables to MySQL table

2005-11-09 Thread Dan McCullough
print $add_to_db; should print out the entire insert line and you can just double check that your values are full, otherwise like Jay said I would check and make sure the user you have in your connect string can write to the db. On 11/9/05, Stewart Priest <[EMAIL PROTECTED]> wrote: > Hi folks...

Re: [PHP] Unable to send variables to MySQL table

2005-11-09 Thread Richard Davey
Hi Stewart, Wednesday, November 9, 2005, 7:15:39 PM, you wrote: > The script executes with no errors, but when I check the table, the > table is still empty. I can manually insert the data directly into > the table, and when I echo the variables in the script, the values > are displayed whe I run

[PHP] Re: Unable to send variables to MySQL table

2005-11-09 Thread Ben Ramsey
On 11/9/05 2:15 PM, Stewart Priest wrote: Comment out the mysql_query() line and just echo $add_to_db. Then take the echoed line and try to run it against the database. Does it still work, then? -- Ben Ramsey http://benramsey.com/ -- PHP General Mailing List (http://www.php.net/) To unsub

RE: [PHP] Unable to send variables to MySQL table

2005-11-09 Thread Jay Blanchard
[snip] Any ideas? The code is below. [/snip] Does your MySQL connection have permission to insert to the table? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Unable to send variables to MySQL table

2005-11-09 Thread Stewart Priest
Hi folks... a bit of a newbie question I'm afraid... I've written this script shown below. It gets its variables from a form, and then it (supposedly!) writes these values into a MySQL table ('invoices'). The script executes with no errors, but when I check the table, the table is still empty.

RE: [PHP] to the freelancers!!

2005-11-09 Thread Richard Lynch
On Wed, November 9, 2005 7:59 am, bruce wrote: > you miss a key nuance/point to the msg. her idea/thought was twofold. > 1) > whether companies would have ideas/projects that they would be > interested in > partially funding, and 2) if there would be a 'talented' pool of > developers > who would be

Re: [PHP] phpmyadmin problems with quoting exported text

2005-11-09 Thread Richard Lynch
On Wed, November 9, 2005 11:05 am, Chris W wrote: > Richard Lynch wrote: > >>On Sun, November 6, 2005 2:17 am, Chris W wrote: >> >> >>>I just tried to use the output of the export function on phpmyadmin >>>and >>>got a million errors. After looking at the file I found that >>> certain >>>columns t

Re: [PHP] java .vs php

2005-11-09 Thread Richard Lynch
On Wed, November 9, 2005 9:40 am, bruce wrote: > php appears to be fine/good for prototyping. my question; does anybody > have > testing experience regarding scalability of php .vs java. ie, can php > scale > to handle 1000s of simultaneous connections/users, as well as deal > with the > various se

RE: [PHP] java .vs php

2005-11-09 Thread Jay Blanchard
[snip] > Yahoo gets 3.4 billion page views per day. That serious enough for you? > I can't believe that Yahoo! works on PHP. Any proofs? As I know they use their own-written engine, if I'm correct it's called "yScript". Am I right? [/snip] You 'were' right...up until 2002 http://news.com.com/2

Re: [PHP] java .vs php

2005-11-09 Thread Ben Ramsey
On 11/9/05 11:58 AM, Rosty Kerei wrote: Yahoo gets 3.4 billion page views per day. That serious enough for you? I can't believe that Yahoo! works on PHP. Any proofs? As I know they use their own-written engine, if I'm correct it's called "yScript". Am I right? Try here for your "proof": ht

Re: [PHP] phpmyadmin problems with quoting exported text

2005-11-09 Thread Chris W
Richard Lynch wrote: On Sun, November 6, 2005 2:17 am, Chris W wrote: I just tried to use the output of the export function on phpmyadmin and got a million errors. After looking at the file I found that certain columns that are strings were not quoted at all. I can't find any reason why so

Re: [PHP] java .vs php

2005-11-09 Thread Rosty Kerei
> Yahoo gets 3.4 billion page views per day. That serious enough for you? > I can't believe that Yahoo! works on PHP. Any proofs? As I know they use their own-written engine, if I'm correct it's called "yScript". Am I right? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

Re: [PHP] java .vs php

2005-11-09 Thread Armando Afá
Hi bruce, Programming can be as good as the programer can be. If you look at the google site, how it works, how many concurrent processes that code can do, you realize that tools available for this purposes (Phyton, Perl, PHP java) do what you want them to do. Just try to take a look to them

Re: [PHP] Re: Session's across Domains...

2005-11-09 Thread Ben Ramsey
On 11/9/05 11:05 AM, Tony Di Croce wrote: If the shopping cart on site A submits to the secure CC processing page on site B, then the contextual data that describes the order (price, order number) was actually communicated from A to B via a hop at the users browser (likely via a hidden form field

Re: [PHP] Re: Session's across Domains...

2005-11-09 Thread M
Ben Ramsey wrote: B is a secure page, with a CC info form that when submitted will process their card, charging the amount of money passed in the encrypted packet, and if the charge succeeds, redirecting back to A. A would probably need to send an order number to B, and B could pass that back

Re: [PHP] Re: Session's across Domains...

2005-11-09 Thread Tony Di Croce
Hmm.. Almost. If the shopping cart on site A submits to the secure CC processing page on site B, then the contextual data that describes the order (price, order number) was actually communicated from A to B via a hop at the users browser (likely via a hidden form field on site A). Thus it would ne

Re: [PHP] Type of form element

2005-11-09 Thread Jake Gardner
Uh isset will work in this particular instance because $_POST is an array whose values are of one type and one type only: STRINGS. Yes, it is true that: $myArray['a'] = NULL; isSet($myArray['a']); //Will return FALSE. However, because $_POST contains STRINGS AND STRINGS ONLY, isSet works: $m

Re: [PHP] java .vs php

2005-11-09 Thread Chris Shiflett
bruce wrote: i'm trying to really get a feel as to whether php can really drive serious commercial sites. Yahoo gets 3.4 billion page views per day. That serious enough for you? Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbulb.com/ -- PHP General Mailing List (http://

Re: [PHP] java .vs php

2005-11-09 Thread Richard Heyes
bruce wrote: hi... php appears to be fine/good for prototyping. my question; does anybody have testing experience regarding scalability of php .vs java. ie, can php scale to handle 1000s of simultaneous connections/users, as well as deal with the various security issues... articles dealing with

Re: [PHP] Re: comment more than a question

2005-11-09 Thread Jake Gardner
Yeah I never really look at what the error message actually says, it usually turns out to be unhelpful because of those line numbers. I just look, for example, to see if it says the error happened past the last line of the script, and I know im missing a } somewhere. The errors PHP returns are more

[PHP] java .vs php

2005-11-09 Thread bruce
hi... php appears to be fine/good for prototyping. my question; does anybody have testing experience regarding scalability of php .vs java. ie, can php scale to handle 1000s of simultaneous connections/users, as well as deal with the various security issues... articles dealing with actual live te

Re: [PHP] Re: Session's across Domains...

2005-11-09 Thread Ben Ramsey
I'm posting this back to the list to keep the conversation there. I hope you don't mind. My comments are at the bottom . . . On 11/9/05 10:10 AM, Tony Di Croce wrote: The reason I even wanted to do this had more to do with sharing some data between two sites, and less with really maintaining a

Re: [PHP] Using the echo tag...

2005-11-09 Thread Ben Ramsey
On 11/9/05 10:03 AM, Paul Williams wrote: So would it be acceptable if I used curly braces on all variables (whether superglobals or not) in a here document? Yes. -- Ben Ramsey http://benramsey.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

Re: [PHP] PEAR on PHP 5+?

2005-11-09 Thread Minuk Choi
Thanks! It turns out there was an rpm installed php-4.2.3 which was clobbering with my PHP-5.0.5 installation. I removed it with apt-get remove php and reinstalled PHP-5.0.5 and pear works fine! Thanks again! -Minuk M wrote: Minuk Choi wrote: I can't seem to get pear to work correctly.

Re: [PHP] Using the echo tag...

2005-11-09 Thread Ben Ramsey
On 11/9/05 9:51 AM, Paul Williams wrote: Alright cool that one worked. Do I have to include the curly braces in all calls to variables or just the superglobals? It's not a superglobal issue; it's an array issue -- or, rather, it's an issue with using quotation marks. You could have also done i

[PHP] R: [PHP] Using the echo tag...

2005-11-09 Thread Alan D'angelo - Media Beat Information Technology
Use: {$_SERVER['PHP_SELF']} EOF; ?> Best Regards, Alan -Messaggio originale- Da: Paul Williams [mailto:[EMAIL PROTECTED] Inviato: mercoledì 9 novembre 2005 15.45 A: [EMAIL PROTECTED] Cc: php-general@lists.php.net Oggetto: Re: [PHP] Using the echo tag... $_SERVER['PHP_SELF'] E

Re: [PHP] Using the echo tag...

2005-11-09 Thread Paul Williams
Alright cool that one worked. Do I have to include the curly braces in all calls to variables or just the superglobals? Thank you. Sincerely, Paul Lee Williams III From: Ben Ramsey <[EMAIL PROTECTED]> To: php-general@lists.php.net,Paul Williams <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED]

Re: [PHP] Using the echo tag...

2005-11-09 Thread Ben Ramsey
On 11/9/05 9:45 AM, Paul Williams wrote: $_SERVER['PHP_SELF'] EOF; ?> Try it with curly braces: {$_SERVER['PHP_SELF']} EOF; ?> -- Ben Ramsey http://benramsey.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using the echo tag...

2005-11-09 Thread Paul Williams
$_SERVER['PHP_SELF'] EOF; ?> Here's the coding and the error for it was this: > Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, > expecting > T_STRING or T_VARIABLE or T_NUM_STRING in C:\Program Files\Abyss Web > Server\htdocs\document1.php on line 6 > " Thank you. Sincere

[PHP] Re: security code

2005-11-09 Thread Gustavo Narea
Hello, Clive. Depending on the target of your website, you shall need to keep in mind the (in)accessibility of this kind of tests: http://www.w3.org/TR/2003/WD-turingtest-20031105/ By the way, AFAIK they are also known as "turing numbers". Regards. Clive wrote: Hi does any one have a class

RE: [PHP] to the freelancers!!

2005-11-09 Thread bruce
richard... you miss a key nuance/point to the msg. her idea/thought was twofold. 1) whether companies would have ideas/projects that they would be interested in partially funding, and 2) if there would be a 'talented' pool of developers who would be interested in working on the initial apps. ther

Re: [PHP] Re: Session's across Domains...

2005-11-09 Thread Ben Ramsey
On 11/8/05 11:52 PM, Chris Shiflett wrote: When I've provided this feature in the past, I've always taken advantage of launch and landing pages - e.g., users could only get to the other domain and still be logged in if they clicked a link from my application, and those links all go through a la

[PHP] PHP 5 && OO && performance && exceptions

2005-11-09 Thread cron
Hello, Currently I'm make some utilities classes and I took the idea from java to make some wrappers class like String, Integer and so on. This allows me to use the type hint for basic types in php. Anyone have a clue if replacing the all in one type in php for objects types will degrade t

[PHP] Re: comment more than a question

2005-11-09 Thread James Benson
It takes some getting used to I admit but PHP errors turned up full is far than enough to fix any script, in my experience matt VanDeWalle wrote: I don't really have a question, I just have noticed in working with php for about a year off and on, so you could probably say i'm a bit new sti

Re: [PHP] PEAR on PHP 5+?

2005-11-09 Thread M
Minuk Choi wrote: I can't seem to get pear to work correctly. if I type [/]# pear install DB I get the usage printed out back(no error message, no action) and if I go to the PHP-5.0.4/lib/php directory, I get [PHP-5.0.4/lib/php]# pear install DB Fatal error: Call to undefined function: geto

Re: [PHP] PHP Search Engine

2005-11-09 Thread Petr Smith
It sounds like this is specifically for html pages, or am I assuming wrong? Do any of these or other search engines index html content held in a MySQL database? Arno It depends.. Some products are based around web spider (mnogosearch), some are only engines without spider part (lucene). Ther

RE: [PHP] PHP Search Engine

2005-11-09 Thread Arno Kuhl
-Original Message- From: Petr Smith [mailto:[EMAIL PROTECTED] Sent: 09 November 2005 11:27 To: php-general@lists.php.net Subject: Re: [PHP] PHP Search Engine Richard Lynch wrote: > On Tue, November 8, 2005 11:20 pm, Leonard Burton wrote: > >>Has anyone on here created a search engine in P

Re: [PHP] Re: PHP 4.4.1 on Apache 2.0.x issue

2005-11-09 Thread Max Belushkin
> Maybe the following [1] thread on the FreeBSD ports lists does help you. > I (and the other sysops/users of this machine) are waiting for a patch > for this problem > You're not the only one :-) > [1] > http://lists.freebsd.org/pipermail/freebsd-ports/2005-November/027038.html Oh, thanks a lot!

Re: [PHP] PHP Search Engine

2005-11-09 Thread Petr Smith
Richard Lynch wrote: On Tue, November 8, 2005 11:20 pm, Leonard Burton wrote: Has anyone on here created a search engine in PHP? Sure, of sorts, now and again, here and there, to some degree. I am reasonably certain that if you Googled for: "PHP web spider framework" you would find s

[PHP] Re: security code

2005-11-09 Thread Rosty Kerei
Yep! It's called captcha. There is a PEAR package Text/CAPTCHA, and also you can find some other classes at phpclasses.org Good luck! Sincerely, Rosty Kerei <[EMAIL PROTECTED]> "Clive" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi > does any one have a class/function to gener

Re: [PHP] $pieces = explode(",", $_POST["fieldtype1"]);

2005-11-09 Thread Richard Lynch
On Mon, November 7, 2005 11:00 pm, John Taylor-Johnston wrote: > $pieces = explode(",", $_POST["fieldtype1"]); > > What is a way to echo each pieces[x] separately so I can echo them > like > this: > > while(x=0 to xMax) > { > $sql .= "`".$pieces[x]."` \r\n"; > } foreach ($pieces as $piece){ $sql

Re: [PHP] A question...

2005-11-09 Thread Richard Lynch
On Tue, November 8, 2005 3:48 pm, Tony Di Croce wrote: > Oops! > > I meant SESSION[]! Thanks guys... > > So then the question becomes, is storing stuff in SESSION[] insecure? > Is > their any point to encrypting what a store in SESSION[]? On a shared server, this would be a really Good Idea (tm) i