Re: [PHP] locate

2003-03-28 Thread Jason Wong
On Saturday 29 March 2003 15:14, Joseph Bannon wrote: > How do you update the locate database? > > /var/lib/slocate/slocate.db You really are taking advantage of people's generosity in answering your OT questions. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Sys

Re: [PHP] locate

2003-03-28 Thread Kevin Waterson
This one time, at band camp, Joseph Bannon <[EMAIL PROTECTED]> wrote: > How do you update the locate database? > > /var/lib/slocate/slocate.db udatedb Kevin -- __ (_ \ _) ) | / / _ ) /

Re: [PHP] mysql ending at start up

2003-03-28 Thread Joseph Bannon
> Please use the appropriate list. If you want a fast > response take out a mysql support contract. Thanks Jason. You're such a supportive individual -lol. J. __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your deskto

[PHP] locate

2003-03-28 Thread Joseph Bannon
How do you update the locate database? /var/lib/slocate/slocate.db __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] mysql ending at start up

2003-03-28 Thread Jason Wong
On Saturday 29 March 2003 14:14, Joseph Bannon wrote: > > Joe you got a reply within 20 minutes on the MySQL > > list asking you this: > > Yeah, I did, but I'm use to the fast response of thsi > list. Please use the appropriate list. If you want a fast response take out a mysql support contract.

Re: [PHP] Re: A cool PHP tool - Pusher

2003-03-28 Thread Pete James
Agreed. Now it allows searching and browsing without sign-up. Thanks, Pete Manuel Lemos wrote: Hello, On 03/29/2003 01:22 AM, Pete James wrote: Some of you may like to stay on top of the PHP world (as well as countless other worlds) without having to do too much work. To you I would suggest

RE: [PHP] mysql ending at start up

2003-03-28 Thread Joseph Bannon
> Joe you got a reply within 20 minutes on the MySQL > list asking you this: Yeah, I did, but I'm use to the fast response of thsi list. > What does your .err log have to say about > it? I don't have one. > Let's find your database error log, as root type: > > find / -name "*.err" -print |

Re: [PHP] possible?

2003-03-28 Thread Maciek Ruckgaber Bielecki
Hi there mate i'll suggest you to have a look to ImageMagick to do tricky things to images heres the address: http://www.imagemagick.org/ have fun!! On Sat, Mar 29, 2003 at 12:58:17AM -0500, Sebastian wrote: > hello, > > I have some images in mysql, currently the images aren't resize, and this >

RE: [PHP] mysql ending at start up

2003-03-28 Thread Don Read
On 29-Mar-2003 Joseph Bannon wrote: > The mysql support list is slow, so I though I would > post here since I know this list is more active. > MySQL shuts down when I start it up... > ># Starting mysqld daemon with databases > from /home/mysqldb > 030328 09:29:32 mysqld ended Joe you got a rep

RE: [PHP] possible?

2003-03-28 Thread Mike Brum
How I deal with images and resizing is by uploading the image to the server, and at that time creating a thumbnail. I have the /images folder with a /thumbs folder inside it for the thumbnails. The database simply refers to the name of the image and it's ID and other associations. This is optimal

[PHP] possible?

2003-03-28 Thread Sebastian
hello, I have some images in mysql, currently the images aren't resize, and this displays the image, like: image.php?id=1 But i'd like to resize the image with html tags: e.g. width="300" and print/echo it. since Content-type is for image is it even possible? If not then how about dynamically re

[PHP] PHP and Web Services (where to start?)

2003-03-28 Thread Stacy Oliver
Hi all, I'm a total newbie to programming, but I picked up PHP last month and redesigned my website (I think it's great). What I want to do now, is create a price comparison engine of online bookstores using PHP and whatever web services the vendors supply. My question is: where should I start

Re: [PHP] A cool PHP tool - Pusher

2003-03-28 Thread CDitty
At 11:24 PM 3/28/2003, Pete James wrote: BTW. After some re-factoring I may release the code to the community. I for one would really like this. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A cool PHP tool - Pusher

2003-03-28 Thread Pete James
Right now the value is in the service, not the code. I use it to keep up on PHP developments. Some of the already available feeds are blogs highlighting what high profile people in the PHP community (people like Sterling Hughes, Zak Greant, etc) are working on. Others are from web sites like

Re: [PHP] Can't connect to mysql

2003-03-28 Thread Chris Shiflett
--- CDitty <[EMAIL PROTECTED]> wrote: > Fatal error: Call to undefined function: mysql_connect() What version of PHP? This almost always means PHP was built without MySQL support (the --with-mysql was missing from the configure line, though this isn't necessary in newer versions). Does phpinfo() s

[PHP] Can't connect to mysql

2003-03-28 Thread CDitty
I just setup my home development server and I am having problems connecting to the mysql server. Mysql is isntalled and is configured correctly. It is running. Mysql is compiled into php, When I try to connect using existing code, I get the following error. Fatal error: Call to undefined f

[PHP] Re: A cool PHP tool - Pusher

2003-03-28 Thread Manuel Lemos
Hello, On 03/29/2003 01:22 AM, Pete James wrote: Some of you may like to stay on top of the PHP world (as well as countless other worlds) without having to do too much work. To you I would suggest checking out http://www.shaman.ca/pusher/ There are a number of news feeds here from various PHP

[PHP] mysql ending at start up

2003-03-28 Thread Joseph Bannon
The mysql support list is slow, so I though I would post here since I know this list is more active. MySQL shuts down when I start it up... # Starting mysqld daemon with databases from /home/mysqldb 030328 09:29:32 mysqld ended __ Do you Yahoo!?

RE: [PHP] A cool PHP tool - Pusher

2003-03-28 Thread John W. Holmes
> Some of you may like to stay on top of the PHP world (as well as > countless other worlds) without having to do too much work. To you I > would suggest checking out > > http://www.shaman.ca/pusher/ > > There are a number of news feeds here from various PHP sites. This would be worthwhile if y

[PHP] A cool PHP tool - Pusher

2003-03-28 Thread Pete James
Some of you may like to stay on top of the PHP world (as well as countless other worlds) without having to do too much work. To you I would suggest checking out http://www.shaman.ca/pusher/ There are a number of news feeds here from various PHP sites. Cheers, Pete. -- PHP General Mailing List

[PHP] Re: PHP and .zip creation support -- HELP!!

2003-03-28 Thread Manuel Lemos
Hello, On 03/28/2003 03:15 PM, Shawn wrote: I'm allowing file uploads, and I want the uploaded files to be zipped on the server (at the time of upload) so that later downloads will be compressed and of a file type that Windows won't have a problem with. - From reading up on how to go about doing t

RE: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Matt Giddings
I purchased a few php books and was sorely disappointed. I found that the online documentation and this php list were the best resources for php. You'll find that pretty much any book on php will be outdated by the time it hits the shelves, and with php 5 coming out in the near future (I

Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Leif K-Brooks
I can find an answer to nearly any question I have about PHP in the manual. Any examples of what you're unable to find? Beauford.2002 wrote: I found that after the fact, but my question was regarding tutorials, books, or other docs. This was just an example I used. In general I don't find the P

Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Beauford.2002
I found that after the fact, but my question was regarding tutorials, books, or other docs. This was just an example I used. In general I don't find the PHP manual very helpful - I tend to get more out of the users comments than the actual manual.. - Original Message - From: "Leif K-Brooks

Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Leif K-Brooks
After a quick search of the php manual, I came upon http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc, which says: Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. When magic_quotes are on, all ' (single-quote), " (double quote), \ (backslash) and NUL's are escaped

RE: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread John W. Holmes
I dare you to find an explanation of an ASP feature and you'll realize how easy you've got it. How much easier can it be? First, you type in: www.php.net/get_magic_quotes_gpc to get the manual page. From there, in the explanation, there is a link labeled "magic_quotes_gpc" (you can click on links

Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Beauford.2002
Thanks to all that responded on this. There are some great examples here that I will definitely look into. BE. - Original Message - From: "Kenn Murrah" <[EMAIL PROTECTED]> To: "Beauford.2002" <[EMAIL PROTECTED]>; "PHP General" <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 5:03 PM Subje

RE: [PHP] XML+XSLT or Smarty again??

2003-03-28 Thread Dan Rossi
hmm i usually output the xml to an arg string to transform through sablot, i dont know much about smarty although, while looking for a templating system to replace fast template , i was hoping smarty could have a similar structure and be quicker at the same time , but it seems to want control of th

Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Beauford.2002
No, the name explains absolutely squat. What is a magic quote? Sounds like something I smoked in the 60's. Maybe to you it makes sense as you know what it does. To me it means absolutely nothing - nor does the PHP manual explain it. B. - Original Message - From: "Jennifer Goodie" <[EMAI

RE: [PHP] Get the HTTP Server Username

2003-03-28 Thread Don Read
On 28-Mar-2003 Chris Shiflett wrote: > --- Mike <[EMAIL PROTECTED]> wrote: >> Is there anyway to get the HTTP Server Username (something like >> $_SERVER['username']) I tried printing all the variables defined in a >> page (and looking at a phpinfo.php) and wasn't able to figure it out... > > ---

RE: [PHP] Redirec.t

2003-03-28 Thread John W. Holmes
To each their own. :) It just doesn't make sense. If you're going to redirect, you don't need to show any output (server side redirect, of course). For your case, I'd move the conditions that didn't need the header to the beginning of the select and have a case TRUE that output the header to the

Re: [PHP] Redirec.t

2003-03-28 Thread Leif K-Brooks
Yes, I agree it's a workaround, but sometimes it's required for code readibility (and sanity! :) For example, what if I have multiple pages in one file, with a switch-case, and some need to redirect, but there's a page header and footer? For example: The only way would be to do the footer an

RE: [PHP] Redirec.t

2003-03-28 Thread John W. Holmes
Ahhh... but the million dollar question is if you understand WHY it worked... Do you understand that this is a workaround and if you coded correctly you wouldn't need it? Output buffering to enable a header() redirect later in your code is almost never needed if you code correctly. Think about

[PHP] GNU & OpenSource

2003-03-28 Thread John Taylor-Johnston
What's the difference between www.GNU.org and www.OpenSource.org? I have been reading: http://www.oreilly.com/catalog/opensources/book/intro.html but don't get what DiBona, Ockman & Stone mean. OpenSource permits folks like RedHat to distribute a paid CD, GNU doesn't? OpenSource permits greating

RE: [PHP] Redirec.t

2003-03-28 Thread Johnny Martinez
Thanks! That worked! Johnny -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 4:53 PM To: Johnny Martinez Cc: '[EMAIL PROTECTED]' Subject: Re: [PHP] Redirec.t Try putting: ob_start(); at the top of your file (before ANY output is done). John

[PHP] XML+XSLT or Smarty again??

2003-03-28 Thread Hardik Doshi
Hi Everyone, Thanks to community for previous answers I want to know more regarding XML+XSLT technology to seperate presentation layer from the business logic. First let me explain on which tools i am currently working on. I am basically using PHP, MySQL and Apache on Sun Solaris environment. Us

RE: [PHP] Microsoft SQL Server varchar(500) field text concatenated at 255 characters.

2003-03-28 Thread Daevid Vincent
http://www.mysql.com/doc/en/CHAR.html VARCHAR can only be 255 characters in length. Here's some useful info: # BIGINTUNSIGNED = 8 Byte = = 18446744073709551615 # INT UNSIGNED = 4 Byte = = 4294967295 # MEDIUMINT UNSIGNED = 3 Byte = FF = 16777215 # SMA

Re: [PHP] Redirec.t

2003-03-28 Thread Leif K-Brooks
Try putting: ob_start(); at the top of your file (before ANY output is done). Johnny Martinez wrote: Forgive me. I'm new to php. I put the function in my function.php include file which is loaded before I display anything. I want to redirect the browser to a new url once the php script is finishe

RE: [PHP] Redirec.t

2003-03-28 Thread Johnny Martinez
Forgive me. I'm new to php. I put the function in my function.php include file which is loaded before I display anything. I want to redirect the browser to a new url once the php script is finished. Johnny -Original Message- From: Evan Nemerson [mailto:[EMAIL PROTECTED] Sent: Friday, Ma

Re: [PHP] Who is Tim O'Reilly?

2003-03-28 Thread Chris Shiflett
--- John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > Thanks Chris. While I am waiting, can someone help put him in context of the > whole OpenSource culture? 10 words or less. I'm trying to finish a paper > (university humanities academic type and geek-like coder). This is way off-topic, so pleas

Re: [PHP] Who is Tim O'Reilly?

2003-03-28 Thread John Taylor-Johnston
Thanks Chris. While I am waiting, can someone help put him in context of the whole OpenSource culture? 10 words or less. I'm trying to finish a paper (university humanities academic type and geek-like coder). Chris Shiflett wrote: > > Who is Tim O'Reilly? > Ask him: http://oreilly.com/ask_tim/

Re: [PHP] Who is Tim O'Reilly?

2003-03-28 Thread Chris Shiflett
--- John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > Who is Tim O'Reilly? Ask him: http://oreilly.com/ask_tim/ Chris = Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

[PHP] Who is Tim O'Reilly?

2003-03-28 Thread John Taylor-Johnston
Who is Tim O'Reilly? In a nutshell? http://www.oreilly.com/catalog/opensources/book/tim.html http://oreilly.com/oreilly/about.html Perl guru? www.OpenSource.org founder? software publisher? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Redirec.t

2003-03-28 Thread Leif K-Brooks
header("Location: http://php.net/header";); Johnny Martinez wrote: Hi all, Can someone tell me the function to redirect a browser to a specific page? Johnny For example: code... code... code finished. redirect("http://www.domain.com/admin.php";); ?> -- The above message is encrypted with d

RE: [PHP] php session on thttpd

2003-03-28 Thread Chris Shiflett
> Warning: session_start() [function.session-start]: Cannot send session > cookie - headers already sent by (output started at /index.php:7) in > /index.php on line 20 > > Warning: session_start() [function.session-start]: Cannot send session > cache limiter - headers already sent (output starte

Re: [PHP] Redirec.t

2003-03-28 Thread Evan Nemerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 header("Location: http://www.domain.com/admin.php";); if you _really_ need to use your syntax, you could function redirect($uri) { header("Location: ".$uri); } On Friday 28 March 2003 03:28 pm, Johnny Martinez wrote: > Hi all, > Can someone tell m

[PHP] Redirec.t

2003-03-28 Thread Johnny Martinez
Hi all, Can someone tell me the function to redirect a browser to a specific page? Johnny For example: http://www.domain.com/admin.php";); ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Internet Explorer toolbar

2003-03-28 Thread Leif K-Brooks
Agreed, but it should be discussed off-list. The PHP list is a place to discuss PHP. Ashley M. Kirchner wrote: Leif K-Brooks wrote: I never said there was one, I simply said that a PHP solution was requested and you gave a javascript solution. That has nothing to do with the PHP (!) list, a

[PHP] Re: Checking a string for # of charactors.

2003-03-28 Thread rotsky
strlen() > I would like to check that a string as more than 20 charactors in it. Can > someone point me in the right direction. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] mySQL query - command "LIKE" OR "="

2003-03-28 Thread Jennifer Goodie
= does not take the wildcard (%). -Original Message- From: Harry.de [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 2:38 PM To: [EMAIL PROTECTED] Subject: [PHP] mySQL query - command "LIKE" OR "=" Hi, i want to make a mySQL query where the result should be in $result1 any sting

[PHP] mySQL query - command "LIKE" OR "="

2003-03-28 Thread Harry.de
Hi, i want to make a mySQL query where the result should be in $result1 any sting with a phrase of $search in $result2 any sting with the exact phrase of $search $result1 works fine, but $result2 gives out an empty sting $result1 = mysql_query("SELECT name FROM table WHERE name LIKE '%".strto

Re: [PHP] php session on thttpd

2003-03-28 Thread Chris Shiflett
--- Wenyi Shao <[EMAIL PROTECTED]> wrote: > Waring: session_start() [function.session-start]: > open(/tmp/sess_8c328cbf4817db05e12edfc88, O_RDWR) failed: Permission > denied (13) in /index.php on line 20 Did you copy/paste that or type it? It looks like you typed it (Waring). Check the permission

Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Patrick Teague
Not sure if you've looked at it already or not, but www.webmonkey.com has great web programming info. I followed a couple php tutorials from there & was up & running... then again I've done alot of programming prior to PHP so maybe I'm just warped. Patrick - Original Message - From: "Bea

[PHP] php session on thttpd

2003-03-28 Thread Wenyi Shao
Hi, I have problem when I use php session with thttpd webserver. I get the following message: Waring: session_start() [function.session-start]: open(/tmp/sess_8c328cbf4817db05e12edfc88, O_RDWR) failed: Permission denied (13) in /index.php on line 20 Does anyone know where is the problem? (I have

RE: [PHP] Get the HTTP Server Username

2003-03-28 Thread Chris Shiflett
--- Mike <[EMAIL PROTECTED]> wrote: > Is there anyway to get the HTTP Server Username (something like > $_SERVER['username']) I tried printing all the variables defined in a > page (and looking at a phpinfo.php) and wasn't able to figure it out... --- Don Read <[EMAIL PROTECTED]> wrote: > $_SERVER

RE: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Bryan Lipscy
Yes, an excellent book. -Original Message- From: Kenn Murrah [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 2:14 PM To: Mike; [EMAIL PROTECTED] Subject: Re: [PHP] Is there a PHP for Dummies? oh, and that reminds me ... another O'Reilly title, "PHP Cookbook" is REALLY helpful if,

[PHP] PEAR DB - PHPMyAdmin

2003-03-28 Thread Mike
Anyone intersted in helping integrate PHPMyAdmin to PEAR? It's seperate from phpMyAdmin right now, but might be integrated later... -Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Kenn Murrah
oh, and that reminds me ... another O'Reilly title, "PHP Cookbook" is REALLY helpful if, like a lot of us, you like to learn from examples ... - Original Message - From: "Mike" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 4:10 PM Subject: Re: [PHP] Is there a P

RE: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Bryan Lipscy
Use the Zend Beauford. http://www.zend.com For beginners: http://www.zend.com/interest/beginners.php Using Google: http://www.phpbuilder.com/manual/function.get-magic-quotes-gpc.php -Original Message- From: Beauford.2002 [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 1:54 PM T

Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Mike
Try out "Programming PHP" by Rasmus Lerdorf from O'Reilly. I got it and learned everything from it. Once you've read the book once or twice, you can just use the PHP Manual... -Michael On Fri, 2003-03-28 at 12:53, Beauford.2002 wrote: > I'm really tired of trying to figure out the PHP manual and n

RE: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Jennifer Goodie
That is a really, really, really poor example. Tha name says it all. It gets the magic quotes setting for gpc(get, post, cookie). You can figure out what most PHP functions do just by looking at their names, that's actually what I like about PHP. -Original Message- From: Beauford.2002 [

Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread CPT John W. Holmes
> I'm really tired of trying to figure out the PHP manual and need something > that explains things in plain straight forward English. Like > get_magic_quotes_gpc() for example - the manual says how to use it and what > it returns - but nowhere can I find out what it's for. Does it count sheep, > d

Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Kenn Murrah
well, B., i've read a LOT of 'em .. it sort of depends on YOUR background as to which is best ... i like "Professional PHP Programming" from Wrox ... don't bother with "Beginning PHP Programming" from Wrox ... it'll probably insult your intelligence ... one of the first i ever read, when i was fi

RE: [PHP] post method with fopen

2003-03-28 Thread Jennifer Goodie
I've never tried with fopen, but I know you can with fsockopen. That doesn't really answer your question, but I thought it might help out. Here's an example with fsockopen; $fp = fsockopen($domain,80, $errno, $errstr, 30); if (!$fp){ //error handling stuff } else{ fputs ($fp, "PO

[PHP] Is there a PHP for Dummies?

2003-03-28 Thread Beauford.2002
I'm really tired of trying to figure out the PHP manual and need something that explains things in plain straight forward English. Like get_magic_quotes_gpc() for example - the manual says how to use it and what it returns - but nowhere can I find out what it's for. Does it count sheep, do a quote

Fw: [PHP] post method with fopen

2003-03-28 Thread Kevin Stone
- Original Message - From: "Lambert Antonio" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 24, 2003 8:16 PM Subject: [PHP] post method with fopen > if it possible to send a post data when using fopen? > > -- > Lambert Antonio > Re:Site WebWorks and System Solutions You

[PHP] File access denied!!!

2003-03-28 Thread Joakim Larsson
I am running a ftp server on my mac along with the webserver on OS 10.2. The files that i upload to the server i have no access to through the internet. This is the message i get when trying to access the webpage "You don't have permission to access /index.html on this server.". What do i do to get

Re: [PHP] Re: Include Question

2003-03-28 Thread Kevin Stone
Guys I would say looping include()'s is just a bad idea all together. It can get you into some gritty situations. For example it would be very easy to end in an infinte loop, or overwrite variables, or just confuse the heck out of the PHP parser. I recommend you do a header() redirect rather tha

Re: [PHP] uploading large files through php

2003-03-28 Thread David T-G
Dimitar -- ...and then Dimitar Haralanov said... % % Hi, Hi! % ... % The problem that I am facing is that I can get the script/browser/php % to pass such large file. I have modified the upload_max_size variable in % php.ini to be larger the 60Mb but this still does not help! Chec

[PHP] post method with fopen

2003-03-28 Thread Lambert Antonio
if it possible to send a post data when using fopen? -- Lambert Antonio Re:Site WebWorks and System Solutions -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Apache vs. IIS

2003-03-28 Thread Rasmus Lerdorf
It's not as fun when you have this same guy sending that exact same message to multiple developer lists. Don't worry though, there won't be more of them coming through on the php lists. -Rasmus On Fri, 28 Mar 2003, Kevin Stone wrote: > As much as I disaprove of off topic posts... that was hil

Re: [PHP] Apache vs. IIS

2003-03-28 Thread Kevin Stone
As much as I disaprove of off topic posts... that was hillarious. LOL - Kevin - Original Message - From: "Richard Whitney" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 2:30 PM Subject: [PHP] Apache vs. IIS > How do you take out the Iraqi Intelligence S

[PHP] Apache vs. IIS

2003-03-28 Thread Richard Whitney
How do you take out the Iraqi Intelligence Service? -- Richard Whitney * Transcend Development Producing the next phase of your internet presence. [EMAIL PROTECTED] * http://xend.net* 602-971-2791 * * * * * *__** _/ \___ * * / *\**

Re: [PHP] Session Theft

2003-03-28 Thread Beauford.2002
Can someone explain how this works as I am in the process of doing a login/authentication page and want to make it as secure as possible B. - Original Message - From: "Haseeb Iqbal" <[EMAIL PROTECTED]> To: "PHP General list" <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 11:48 PM Su

Re: [PHP] Get the HTTP Server Username

2003-03-28 Thread CPT John W. Holmes
> Is there anyway to get the HTTP Server Username (something like > $_SERVER['username']) I tried printing all the variables defined in a > page (and looking at a phpinfo.php) and wasn't able to figure it out... Do you mean the user your web server is running as? You should already know that... -

[PHP] odbc_connect and segmentation fault

2003-03-28 Thread Joel Vorpagel
Can anyone help me out? I'm running PHP 4.3.1 on Apache 1.3.23 with unixODBC 2.2.3. I'm using ODBC to connect to my db2 database. I was testing out some scripts that connect to a database to run select and insert statements. When I run the scripts on my test site (through the browser) everything ap

[PHP] Re: Include Question

2003-03-28 Thread Tim Burden
You could try this instead: Checklogin.php if (!$name || !password) { $message = $enter_info; } if ($message){ include ("login.php"); echo $message; exit; } But the way you had it should work, you might just need to global $message; right before the echo in login.php in case it is insi

Re: [PHP] last questions

2003-03-28 Thread David T-G
Steve, et al -- ...and then Steve Jackson said... % ... % // check an email address is possibly valid % if (ereg("[EMAIL PROTECTED]", % $email)) ... You could just downcase the address and save some chars; email is case-insensitive. You've left out the '+' character used for name+extensions

RE: [PHP] Checking a string for # of charactors.

2003-03-28 Thread Johnson, Kirk
http://www.php.net/manual/en/function.strlen.php Kirk > I would like to check that a string as more than 20 > charactors in it. Can > someone point me in the right direction. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Checking a string for # of charactors.

2003-03-28 Thread Philip J. Newman
I would like to check that a string as more than 20 charactors in it. Can someone point me in the right direction. Thanks .. -- Philip J. Newman. Head Developer [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Get the HTTP Server Username

2003-03-28 Thread Don Read
On 28-Mar-2003 Mike wrote: > Is there anyway to get the HTTP Server Username (something like > $_SERVER['username']) I tried printing all the variables defined in a > page (and looking at a phpinfo.php) and wasn't able to figure it out... > -- > Mike <[EMAIL PROTECTED]> > $_SERVER['PHP_AUTH_USE

Re: [PHP] Grid edit form

2003-03-28 Thread Jim Lucas
you don't understand how this works then... Jim - Original Message - From: "Ford, Mike [LSS]" <[EMAIL PROTECTED]> To: "'Daniel Harik'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 9:44 AM Subject: RE: [PHP] Grid edit form > > -Original Message- > > From:

Re: [PHP] Grid edit form

2003-03-28 Thread Jim Lucas
you missunderstood my example then. then 1,2,3,4,... is only for the array, you wont be setting that with the result set from the db call. the id from the db call with be the value of row[1][id] on the process page. just think of it as a multidia indexed array Jim - Original Message -

[PHP] Get the HTTP Server Username

2003-03-28 Thread Mike
Is there anyway to get the HTTP Server Username (something like $_SERVER['username']) I tried printing all the variables defined in a page (and looking at a phpinfo.php) and wasn't able to figure it out... -- Mike <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] webeditor

2003-03-28 Thread Daniel Guerrier
Does anyone know of an open source webeditor that I can use to enter information into a text area field. I have a custom CMS and I would like to add webeditor functionality to the textarea fields __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA Ma

[PHP] imap_open and 503 Error

2003-03-28 Thread Brian Mitchell
Anyone ever encounter a 503 server error when trying to open a stream to a mailbox using imap_open? If so, anyway to fix it? Thanks, Brian

[PHP] Looking functions for deal with special characters

2003-03-28 Thread ignacio . estrada
Hi, I am getting data from a database, containing special characteres (in spanish). After that, I want to write down this data to an ascii file (.csv). When this file is open with excel, the resulting data on cell (strings) does not keep the same special characteres instead of that appear strange

[PHP] : Looking functions for deal with special characters

2003-03-28 Thread ignacio . estrada
Hi, I am getting data from a database, containing special characteres (in spanish). After that, I want to write down this data to an ascii file (.cvs), but when that is done the resulting strings does not keep the same special characteres instead of that appear strange characters. Here I want to

Re: [PHP] How to debug XSLT Errors?

2003-03-28 Thread Benjamin Walling
I've got sabcmd and it is giving the same message. I've got about 3 hours experience with XSL, so if this file is bad, let me know. Also, do you have a recommendation for an xsl/xml validator? This XSL file works for me in IE if I return my XML to the browser along with the tag . The problem wi

Re: [PHP] How to debug XSLT Errors?

2003-03-28 Thread Ray Hunter
Try using the command line sablot "sabcmd" to parse the xsl file and see if you can get any info on the well-formness of the file. If you dont have the command line version I suggest downloading an application that does xsl verification. You could also send post the file so that we can review the

Re: [PHP] What is the e-mail to unsuscribe of the mailing-list?

2003-03-28 Thread Dimitar Haralanov
On Fri, 28 Mar 2003 19:42:06 +0100 (CET) Orlando Pozo wrote: > What is the e-mail to unsuscribe of the mailing-list? [EMAIL PROTECTED] pgp0.pgp Description: PGP signature

Re: [PHP] Random Password Making.

2003-03-28 Thread Steve Keller
At 3/28/2003 11:32 PM, Philip J. Newman wrote: > Whats the best way to make a random password with 4 letters and 2 numbers? I don't know what the "best" way is, but I had fun doing this one. I filled the first 4 elements of an array with random letters by using the minimum ASCII value of a lett

[PHP] What is the e-mail to unsuscribe of the mailing-list?

2003-03-28 Thread Orlando Pozo
What is the e-mail to unsuscribe of the mailing-list? - Yahoo! Messenger Nueva versión: Super Webcam, voz, caritas animadas, y más #161;Gratis!

Re: [PHP] file

2003-03-28 Thread Steve Keller
At 3/28/2003 10:26 AM, Diksha Neel wrote: > i have a simple program to open and write a file. > but the file is not getting created. > can anyone please spot the mistake? > echo"hi?how are u doing??"; > $fp = fopen ("sandrew.html", "w"); > string="hii am $string = > fine"; > $contents=fwrite($f

[PHP] Re: [PHP-INST] PHP: Cannot send session cookie - headers already sent by

2003-03-28 Thread Matt
- Original Message - From: "Atif Jakupovic" <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 1:14 PM Subject: [PHP-INST] PHP: Cannot send session cookie - headers already sent by > Please, could you help me to find out why I'm getting an error message > like one below. > > Warning:

[PHP] Other PHP developers in Louisville, KY?

2003-03-28 Thread Steve Magruder
Hi, I'm a PHP developer in Louisville, KY interested in forming a PHP developers group. Currently, we have three individuals signed up at http://php.meetup.com but we need at least 5 to go forward with a first meeting. If you're interested, please sign up. It should be a lot of fun. Rega

Re: [PHP] uploading large files through php

2003-03-28 Thread Dimitar Haralanov
On Fri, 28 Mar 2003 12:39:10 -0500 Larry E. Ullman wrote: > memory_limit = 8M ; Maximum amount of memory a script may consume > (8MB) Does this mean that the content of the entire file will be stored in memory before it is written to disk? Thanx -- Mit

[PHP] line feeds

2003-03-28 Thread Diana Castillo
How can I remove all line feeds from a document? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] uploading large files through php

2003-03-28 Thread Larry E. Ullman
The problem that I am facing is that I can get the script/browser/php to pass such large file. I have modified the upload_max_size variable in php.ini to be larger the 60Mb but this still does not help! Is there any hard limitation that I am unaware of? You'll probably need to adjust the follow

RE: [PHP] Grid edit form

2003-03-28 Thread Ford, Mike [LSS]
> -Original Message- > From: Daniel Harik [mailto:[EMAIL PROTECTED] > Sent: 28 March 2003 18:55 > > Jim Lucas wrote: > > > This is untested, but I seem to recall doing something like > this on a > > project last year. > > > > > > > > > > > > > > > > > > > > > > > > > > > >

  1   2   >