[PHP] Companies using PHP

2004-07-14 Thread Theisen, Gary
Hi all, I'm trying to locate an up to date list (at least sometime in 2004), that lists major companies (i.e. like Yahoo) that utilize PHP for their website (or at least part of their website). I've google'd and searched php.net to no success. Thanks, Gary

Re: [PHP] PHP JAVA Error on linux

2004-07-14 Thread Alawi albaity
I also try by php cli is just work fine and tht by terminal but when I try from net its not work please give me a hand this command work fine from terminal php -f /home/hrrajco/public_html/test/test.php but from php file named test2.php is not work fine Please give me a hand - Original Messag

[PHP] Re: using Cc: with mail()

2004-07-14 Thread Manuel Lemos
Hello, On 07/14/2004 12:55 PM, Amanda Hemmerich wrote: Ok, I am trying to fix a bug on a site I didn't write, and I looked for examples on www.php.net and couldn't find what I needed. Here is the line of code in question: mail($email, "XXX - Conference Registration Confirmation", $message, "From: [

Re: [PHP] Companies using PHP

2004-07-14 Thread Chris Shiflett
--- "Theisen, Gary" <[EMAIL PROTECTED]> wrote: > I'm trying to locate an up to date list (at least sometime in 2004), > that lists major companies (i.e. like Yahoo) that utilize PHP for their > website (or at least part of their website). I've google'd and searched > php.net to no success. I'm not

RE: [PHP] Companies using PHP

2004-07-14 Thread Theisen, Gary
Just what I was looking for...thanks Chris! -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 5:28 PM To: Theisen, Gary; '[EMAIL PROTECTED]' Subject: Re: [PHP] Companies using PHP --- "Theisen, Gary" <[EMAIL PROTECTED]> wrote: > I'm trying

Re: [PHP] Re: using Cc: with mail()

2004-07-14 Thread Curt Zirzow
* Thus wrote Manuel Lemos: > Hello, > > On 07/14/2004 12:55 PM, Amanda Hemmerich wrote: > >Ok, I am trying to fix a bug on a site I didn't write, and I looked for > >examples on www.php.net and couldn't find what I needed. > > > >Here is the line of code in question: > > > >mail($email, "XXX - Con

Re: [PHP] Re: using Cc: with mail()

2004-07-14 Thread Manuel Lemos
Hello, On 07/14/2004 10:02 PM, Curt Zirzow wrote: Ok, I am trying to fix a bug on a site I didn't write, and I looked for examples on www.php.net and couldn't find what I needed. Here is the line of code in question: mail($email, "XXX - Conference Registration Confirmation", $message, "From: [EMAIL

Re: [PHP] Google question

2004-07-14 Thread raditha dissanayake
Brian Dunning wrote: That's the documentation I was referring to. Are you sure? Like I said, I didn't see anything like that in there. using programs that do not use the google API to query google is against their terms of service. The Google API allows this sort of query. http://www.google.com

[PHP] PHP5 Windows not built with Soap Enabled?

2004-07-14 Thread Sean Malloy
Am I the only one experiencing this: Fatal error: Class 'SoapClient' not found checking the output of phpinfo() for the 5.0.0 binary from www.php.net, it would seem there is no soap support built in at all. Or have I just not woken up today? -- PHP General Mailing List (http://www.php.net/) To

[PHP] Dynamic to Static

2004-07-14 Thread Ed Lazor
Is anyone taking a dynamic PHP / MySQL site and storing or cacheing it statically in order for pages to display more quickly when visitors access the site? If so, what solutions are you using to achieve this? Thanks, Ed

Re: [PHP] upload an image and store it in mysql

2004-07-14 Thread Five
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Five wrote: > > I have php code that takes text input from a webpage and and stores it in a mysql > > data base. > > I tried uploading small images (jpg) using basically the same syntax but they > > don't make it into

[PHP] [Newbie Guide] For the benefit of new members

2004-07-14 Thread Ma Siva Kumar
=== Please feel free to add more points and send to the list. === 1. If you have any queries/problems about PHP try http://www.php.net/manual/en first. You can download a copy and use it offline also. Please also try htt

RE: [PHP] upload an image and store it in mysql

2004-07-14 Thread Ed Lazor
You're seeing raw data and need to specify the mime type with headers. Search the mailing list archive, there's a few example scripts in there. Just keep in mine that you need to create a separate script that handles the display of images. > Thanks, that seems to work. Although trying to ret

[PHP] Re: PHP5 Windows not built with Soap Enabled?

2004-07-14 Thread Sean Malloy
> checking the output of phpinfo() for the 5.0.0 binary from www.php.net, it > would seem there is no soap support built in at all. > > Or have I just not woken up today? I win the "You're a Dumb Ass" award for the day. "The SOAP extension isn't activated by default (PHP5 RC1). Just add "extensio

RE: [PHP] Dynamic to Static

2004-07-14 Thread Edwards Jim
Hello Ed, We have used a combination of the following scripts on our site: /jim if ((filemtime("cache/$sidid") + 60) > time()) { $cachefile = fopen("cache/$sidid","r"); fpassthru($cachefile); exit(); } // start buffering the output ob_start(); // output format - either "www" or "file"

Re: [PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-14 Thread Jacob Friis Larsen
Curt Zirzow wrote: * Thus wrote Jacob Friis Larsen: How do I install Php5 with both --with-mysql and --with-mysqli? 1. Follow instructions at http://php.net/mysqli. Is this correct: "--with-mysqli=/usr/bin/mysql_config"? (This works: ./configure --with-mysqli=/usr/bin/mysql_config --with-apxs2) 2.

[PHP] Re: Dynamic to Static

2004-07-14 Thread Jason Barnett
Ed Lazor wrote: Is anyone taking a dynamic PHP / MySQL site and storing or cacheing it statically in order for pages to display more quickly when visitors access the site? If so, what solutions are you using to achieve this? Thanks, Ed Hey Ed, there are a couple of ways that you can do it de

[PHP] Re: [Q] PHP 101 -- How to check for session existence?

2004-07-14 Thread Jason Barnett
Hey Michael, I think you really only need to check the $_SESSION array, not necessarily each index. if (!isset($_SESSION)) { // login header('Location: ' . MEMBER_LOGIN_PAGE); } else { // session exists } However, if you want to have non-empty values for your session variables you should u

[PHP] Re: New object model

2004-07-14 Thread Jason Barnett
Troy S wrote: Is there an ini-file setting so that objects are passed by value as in PHP 4? If so, how long is this likely to be supported? Thanks, Troy Although you can turn on zend engine 1 compatibility, if you intend to distribute your code you cannot expect this on most servers. Another wa

[PHP] Re: [Q] PHP 101 -- How to check for session existence?

2004-07-14 Thread Ciprian Constantinescu
I think it would be better to use Apache facility of authentication through Mysq l "Michael T. Peterson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > To protect certain web pages on my site, I am using the following code > inserted at the very beginning (top) of the page: > >

Re: [PHP] upload an image and store it in mysql

2004-07-14 Thread raditha dissanayake
I have php code that takes text input from a webpage and and stores it in a mysql data base. I tried uploading small images (jpg) using basically the same syntax but they don't make it into the data base. Does anyone know of a simple tutorial that shows how to do this? although I'm against

[PHP] Re: Site Planning

2004-07-14 Thread Jason Barnett
Ee wrote: Can anyone point me to a good article about site planning before coding. I searched the net but couldn't find a good one? This question is too broad - as usual it depends on your needs. Ask a more specific question, or hire someone to plan out your site for you. -- PHP General Mailing

Re: [PHP] Dynamic to Static

2004-07-14 Thread raditha dissanayake
Ed Lazor wrote: Is anyone taking a dynamic PHP / MySQL site and storing or cacheing it statically in order for pages to display more quickly when visitors access the site? If so, what solutions are you using to achieve this? The best example of this that I have seen is in the mediawiki software

[PHP] RE: php vs. cgi app

2004-07-14 Thread Jason Barnett
Bruce, you need to start new threads when you ask a new question... a lot of people don't bother to check out a thread that's already got responses, and it really makes more logical sense to start a new one anyway (original post is below my response)... When you say cgi vs. php, I'm going to as

Re: [PHP] Compile Php5: --with-mysql and --with-mysqli

2004-07-14 Thread Marek Kilimajer
Jacob Friis Larsen wrote: Curt Zirzow wrote: * Thus wrote Jacob Friis Larsen: How do I install Php5 with both --with-mysql and --with-mysqli? 1. Follow instructions at http://php.net/mysqli. Is this correct: "--with-mysqli=/usr/bin/mysql_config"? (This works: ./configure --with-mysqli=/usr/bin/my

<    1   2