Re: [PHP-WIN] newbie : For windows-target of PDO-driverr, CrossCompile or native-compile?

2009-08-28 Thread Richard Quadling
2009/8/28 Sanjeev Kumar : > Hello, > I need to write PHP-PDO database-driver for a new database. > > The clarification I need: > 1) Should I take the PHP-source on Windows-vista platform and build natively > the DLL for win. >   Will the VisualStudio compile with all PHP-main src & the extension >

RE: [PHP-WIN] Newbie - am wondering how to use PHP (?) to get the name of the user logged on to 'my' https:// site

2008-02-20 Thread Gustav Wiberg
6:25 PM To: Gustav Wiberg; php-windows@lists.php.net Subject: RE: [PHP-WIN] Newbie - am wondering how to use PHP (?) to get the name of the user logged on to 'my' https:// site Gustav, *Works like a charm! Much appreciated... SO CLEAN AND SIMPLE!* If you or anyone feels so inclined:

Re: [PHP-WIN] Newbie - am wondering how to use PHP (?) to get the name of the user logged on to 'my' https:// site

2008-02-20 Thread Stut
Greg Cocks wrote: Gustav, *Works like a charm! Much appreciated... SO CLEAN AND SIMPLE!* If you or anyone feels so inclined: $logged = $_SERVER["AUTH_USER"]; print $logged.""; list($logged_on_userdomain,$logged_on_username) = split("\\",$logged); print $logged_on_username.""; It prin

RE: [PHP-WIN] Newbie - am wondering how to use PHP (?) to get the name of the user logged on to 'my' https:// site

2008-02-20 Thread Greg Cocks
G COCKS gcocks|at|stoller.com -Original Message- From: Gustav Wiberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 20, 2008 12:20 AM To: Greg Cocks; 'php-windows@lists.php.net' Subject: RE: [PHP-WIN] Newbie - am wondering how to use PHP (?) to get the name of the user l

RE: [PHP-WIN] Newbie - am wondering how to use PHP (?) to get the name of the user logged on to 'my' https:// site

2008-02-20 Thread Warren Vail
ssage- From: Gustav Wiberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 19, 2008 11:20 PM To: 'Greg Cocks'; 'php-windows@lists.php.net' Subject: RE: [PHP-WIN] Newbie - am wondering how to use PHP (?) to get the name of the user logged on to 'my' https:// site Hi!

RE: [PHP-WIN] Newbie - am wondering how to use PHP (?) to get the name of the user logged on to 'my' https:// site

2008-02-19 Thread Gustav Wiberg
Hi! It depends on version of PHP, but try with... $username = $_SERVER["AUTH_USER"] $username = $_SERVER["PHP_AUTH_USER"] Se more in the server-varriables: http://se2.php.net/reserved.variables Best regards /Gustav Wiberg -Original Message- From: Greg Cocks [mailto:[EMAIL PROTECTED

Re: [PHP-WIN] Newbie - am wondering how to use PHP (?) to get the name of the user logged on to 'my' https:// site

2008-02-19 Thread Jacob Kruger
Can't remember too much/clearly, but doesn't that login credential info get stored in some or other cookie? HTH Jacob Kruger Blind Biker Skype: BlindZA '...Fate had broken his body, but not his spirit...' - Original Message - From: "Greg Cocks" <[EMAIL PROTECTED]> To: Sent: Wednesda

Re: [PHP-WIN] newbie: error when invoke .php

2007-12-09 Thread Andre Junianto
Thank you very much, it works. Andre. -- On Monday, December 10, 2007 9:41 AM, John Mertic [EMAIL PROTECTED] wrote: Try not enabling every single extension in the installer, instead enable only the extensions you need. You can go into Add/Remove Programs and make these changes as well. J

Re: [PHP-WIN] newbie: error when invoke .php

2007-12-09 Thread John Mertic
Try not enabling every single extension in the installer, instead enable only the extensions you need. You can go into Add/Remove Programs and make these changes as well. John On Dec 9, 2007 12:29 AM, Andre Junianto <[EMAIL PROTECTED]> wrote: > Dear all, > > I'm newbie. > Install php-5.2.5-win3

Re: [PHP-WIN] Newbie, PHP Script not sending email in WinME and PWS

2006-04-19 Thread Ariz Jacinto
one way to troubleshoot your problem is to run the simplest mail script (w/o From, etc. headers) and invoke it by commandline or over the web. if you still can't send emails, try replacing the SMTP domain name with an IP address. if the problem still persist, check your connection to the SMTP ser

Re: [PHP-WIN] Newbie question: convert string to int

2005-01-17 Thread graeme
wrote: dont mean to be padantic, but 5.7 is not an integer :p lol -Original Message- From: graeme <[EMAIL PROTECTED]> To: Louis Young <[EMAIL PROTECTED]> Date: Mon, 17 Jan 2005 13:47:49 +0600 Subject: Re: [PHP-WIN] Newbie question: convert string to int If you are holding a s

Re: [PHP-WIN] Newbie question: convert string to int

2005-01-17 Thread Rasmus Lerdorf
On Mon, 17 Jan 2005, Louis Young wrote: > What's the function to convert a string to an int. echo (int) "123abc"; -Rasmus -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Newbie question: convert string to int

2005-01-16 Thread graeme
If you are holding a string with a valid number in it e.g. "5.7" then the conversion is done automatically. See the manual section Language Reference / Types / Strings / String conversion to numbers. If you are holding a string with the number in words e.g. "Five" then you'll need to write your

Re: [PHP-WIN] newbie: a very simple question (I hope)

2004-12-16 Thread Michael Adams
On Wed, 15 Dec 2004 10:23:29 -0800 (PST) Patrick Roane <[EMAIL PROTECTED]> wrote: > I am trying some excercises in a book and one of the > excercises says to: > > Assign values to two variables. Use comparison > operators to test whether the first value is: > > 1. the same as the second > > 2.

Re: [PHP-WIN] newbie: a very simple question (I hope)

2004-12-15 Thread Janet Valade
Patrick Roane wrote: I am trying some excercises in a book and one of the excercises says to: Assign values to two variables. Use comparison operators to test whether the first value is: 1. the same as the second 2. less than the second 3. Print the result of each test to the browser. My question i

Re: [PHP-WIN] Newbie - Help with WAMP

2004-12-05 Thread Armando
Put your PHP directory into your 'PATH' variable in environment variables, or try copying the php_mysql.dll file into your windows directory. Cheers. Armando Mike Francis wrote: Hi, I am running PHP 5, MySQL 4.1 and Apache 2.0 on an XP Pro Box. I would like MySQL to serve HTTP pages via PHP. Af

RE: [PHP-WIN] Newbie Question: PHP/Appache/WINXP/MySQl

2004-08-27 Thread Gryffyn, Trevor
When you click "submit" on a POST method form, it'll go to whatever file is specified in the "action=" part of the FORM and send the POST data to it for processing. PHP scripts are executed when called, they're never "already running" although you could probably have a case where you could (and mi

Re: [PHP-WIN] Newbie working with PHP 5.0, IIS, Win2000

2004-08-18 Thread Sudeep Zamudra
Hi chuck, As far as the "Notices" are concerned you can disable it from php.ini configuration file. Regards, SuDeEp Chuck <[EMAIL PROTECTED]> wrote: Hello everyone. Hopefully someone can help me with this. I was able to install PHP successfully. I tried a sample script and it worked fine thr

Re: [PHP-WIN] NEWBIE: Is this consistant of bad PHP install?

2004-02-21 Thread Leo Divinagracia
James Thomas (Newbie) wrote: Have spent the best part of twoo days trying to get PHP 4.3.4 to work on Apache 1.3.29. I have followed various different installs. Basically I have a test page in htdocs called test.php If i call http://localhost/test.php i get a 404 file not found. Is this consist

RE: [PHP-WIN] Newbie attempting file open...

2003-03-11 Thread William Fisher
-Original Message- From: Luis Moreira To: Svensson, B.A.T. (HKG); ''William Fisher ' ' Cc: [EMAIL PROTECTED] Sent: 2003-03-11 15:42 Subject: Re: [PHP-WIN] Newbie attempting file open... What for ? The option "r" stans for "read". If what William is doing

RE: [PHP-WIN] Newbie attempting file open...

2003-03-11 Thread Svensson, B.A.T. (HKG)
ra To: Svensson, B.A.T. (HKG); ''William Fisher ' ' Cc: [EMAIL PROTECTED] Sent: 2003-03-11 15:42 Subject: Re: [PHP-WIN] Newbie attempting file open... What for ? The option "r" stans for "read". If what William is doing is try to read a file, and then create

Re: [PHP-WIN] Newbie attempting file open...

2003-03-11 Thread Luis Moreira
27;William Fisher ' '" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, March 11, 2003 2:00 PM Subject: RE: [PHP-WIN] Newbie attempting file open... > Luis, read the code once again.... > > -Original Message- > From: Luis Moreira > To:

RE: [PHP-WIN] Newbie attempting file open...

2003-03-11 Thread Svensson, B.A.T. (HKG)
Luis, read the code once again -Original Message- From: Luis Moreira To: 'William Fisher ' Cc: [EMAIL PROTECTED] Sent: 2003-03-11 12:03 Subject: Re: [PHP-WIN] Newbie attempting file open... No need. It's the other way around, actually. The option that creates if the th

Re: [PHP-WIN] Newbie attempting file open...

2003-03-11 Thread Luis Moreira
er '" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, March 11, 2003 9:15 AM Subject: RE: [PHP-WIN] Newbie attempting file open... > You may want to try something like this: > > $fp = @fopen(,"r"); > > if ($fp) > { > print"An old file

RE: [PHP-WIN] Newbie attempting file open...

2003-03-11 Thread Svensson, B.A.T. (HKG)
You may want to try something like this: $fp = @fopen(,"r"); if ($fp) { print"An old file was opened!"; } else { $fp = @fopen(,"w"); fclose($fp); $fp = @fopen(,"r"); print"New file was created!"; } -Original Message- From: William Fisher To: [EMAIL PROTECTED] Sent: 2003-03-10

RE: [PHP-WIN] Newbie attempting file open...

2003-03-11 Thread Svensson, B.A.T. (HKG)
http://www.php.net/manual/en/function.fopen.php -Original Message- From: William Fisher To: [EMAIL PROTECTED] Sent: 2003-03-10 19:54 Subject: [PHP-WIN] Newbie attempting file open... The Question: It is my understanding that fopen() using the "r" option will either open the indicated fi

RE: [PHP-WIN] newbie: hidding form data

2003-02-27 Thread Rich Gray
Edward This is client-side stuff - i.e. JavaScript... PHP is server side. Rich > -Original Message- > From: Edward David [mailto:[EMAIL PROTECTED] > Sent: 26 February 2003 11:52 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] newbie: hidding form data > > > Hi, > > I am trying to create a

RE: [PHP-WIN] newbie: installing php_gd

2003-02-27 Thread Uttam
tensions' directory to <8 character (DOS compliant) name like 'exten' & see if it works? regds, -Original Message- From: Anthony Ritter [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 23:13 To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] newbie: installing p

Re: [PHP-WIN] newbie: installing php_gd

2003-02-27 Thread Michael Power
Try "C:\php4\extensions" i.e. add the dbl quotation marks. Cheers Mike > "Anthony Ritter" > Rich, > On MS Win 98 / Apache / PHP 4 > > If somebody out there using Win can check my php.ini file and advise me what > I'm doing wrong. > > I have uncommented: > .. > extension=php_gd.dll >

Re: [PHP-WIN] newbie: installing php_gd

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

RE: [PHP-WIN] newbie: installing php_gd

2003-02-26 Thread Rich Gray
Does it work if you have it like this... extension_dir = C:/php4/extensions Rich > -Original Message- > From: Anthony Ritter [mailto:[EMAIL PROTECTED] > Sent: 26 February 2003 16:58 > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] newbie: installing php_gd > >

Re: [PHP-WIN] newbie: installing php_gd

2003-02-26 Thread Anthony Ritter
In my php.ini file, this is what it looks like: .. extension_dir = C:\php4\extensions\; directory in which the loadable extensions (modules) reside extension=php_gd.dll ... Thank you, TR -- PHP Windows Mailing List (http://www.php.net/) To

RE: [PHP-WIN] newbie: installing php_gd

2003-02-26 Thread Rich Gray
Tony Is the php.ini directive extensions_dir set correctly? Rich > Using MS Win 98 / PHP 4 and Apache. > > I tried running the following script but got an undefined call to: > > ImageCreate() > > The following copy is located in my php.ini file...one of which is: > > .. > ;extens

RE: [PHP-WIN] newbie BASIC sessions...

2003-02-25 Thread Robert Nürnberg
>From php.net (): http://www.php.net/manual/en/function.session-is-registered.php Note: If $_SESSION (or $HTTP_SESSION_VARS for PHP 4.0.6 or less) is used, use isset() to check a variable is registered in $_SESSION The code that should work: (You may not need to add SID to your link, depending on

RE: [PHP-WIN] Newbie: How to initialize a superclass

2003-02-07 Thread Mikey
I haven't tried it, but can't you call it with the parent::superclassConstructor()? HTH, Mikey > -Original Message- > From: Leonardo Javier Belén [mailto:[EMAIL PROTECTED]] > Sent: 07 February 2003 20:02 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Newbie: How to initialize a superclass

Re: [PHP-WIN] Newbie email question

2003-01-25 Thread Dash McElroy
Sorry for the late reply - the MsSQL worm of late knocked out my email :( So, your PHP server is offsite. What kind of access to this machine do you have? Is it simply FTP/HTTP? If so, your options will be limited. If you don't have access to PHP.INI, you could use the ini_set() command: ini_set

Re: [PHP-WIN] Newbie email question

2003-01-24 Thread Alex Davis
is there a way to debug on a remote server? "Dash McElroy" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Alex, > > You have to point it at your ISP's SMTP server (assuming this is for > home). Check your mail program for your SMTP server. Sendmail is a unix >

Re: [PHP-WIN] Newbie email question

2003-01-24 Thread Dash McElroy
Alex, You have to point it at your ISP's SMTP server (assuming this is for home). Check your mail program for your SMTP server. Sendmail is a unix thing, although there are similar programs available for Windows, your best bet is to use an existing server. Mail from unknown sources is likely to be

RE: [PHP-WIN] newbie form question..

2003-01-24 Thread paradiddles
Warren, that was it! I wasn't envoking the form from the 'local host'. Instead I was browsing the c drive. Now I can see the text w/in the php echo tag. Thanks again for the help guys- Patrick "forget your lust for the rich man's gold. All that you need, is in your soul. Yo

RE: [PHP-WIN] newbie form question..

2003-01-24 Thread Rich Gray
details on how to configure apache on win32... Rich -Original Message- From: paradiddles [mailto:[EMAIL PROTECTED]] Sent: 24 January 2003 12:31 To: Rich Gray Cc: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] newbie form question.. Rich, thanks for your response. I've tried using the

RE: [PHP-WIN] newbie form question..

2003-01-24 Thread Warren Vail
One rather key question, are you invoking your form through your web server? or are you accessing the file directly? One way to access the file directly (which you don't want to do) is to use a file reference to browse and find the file on your C: drive. You should be accessing the first file thr

RE: [PHP-WIN] newbie form question..

2003-01-24 Thread paradiddles
Rich, thanks for your response. I've tried using the

RE: [PHP-WIN] newbie form question..

2003-01-24 Thread Rich Gray
you are not echoing a variable so register_globals set to On will have no effect in this case (I would switch it back Off as it will be more secure and you should get used to coding that way)... Do you see any errors in the server log? Does it work if you use mailto:[EMAIL PROTECTED]] Sent: 24 Janu

RE: [PHP-WIN] newbie form question..

2003-01-24 Thread Asendorf, John
I doubt that it's a globals problem since it doesn't look like you're even checking any php variables. Perhaps try http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message- > From: par

Re: [PHP-WIN] Newbie :: Class instance alive between pages??

2003-01-08 Thread Palli
So what is wrong with this code : This is page 1 : $MyFrett = new cFrett; $_SESSION['cFrett'] = $MyFrett; this is another page that is trying to use the class instance : NewNews(); } ?> thanx Palli "Luis Ferro" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED].

Re: [PHP-WIN] Newbie :: Class instance alive between pages??

2003-01-08 Thread Luis Ferro
Yes, it is, but prior to accessing the stored value you will have to include the class file, otherwise, php will not know what object that thing in the session is... LF Palli wrote: Hello I´m wondering how I keep class instance alive between pages. Is it possible to store it in Session and w

Re: [PHP-WIN] [newbie] What does this mean?

2003-01-08 Thread paradiddles
Jim, thanks for the response. Well- I think your right! I created index.htm and saved it to my htdocs dir. I get the "file not found" when I try and bring it up. To answer your question ... I have: DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs/" typed into my httpd.conf file jus

Re: [PHP-WIN] [newbie] What does this mean?

2003-01-07 Thread paradiddles
Sorry, In reference to my last question, I did type correctly and it still gives me the "file not found" error. pr "you can observe a lot by watching" ~ Yogi Berra - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Re: [PHP-WIN] [newbie] What does this mean?

2003-01-07 Thread Jim Hunter
Try: and you should have much better success. phpinfo is a function so you must include the parens for it to work properly. Jim ---Original Message--- From: paradiddles Date: Tuesday, January 07, 2003 10:59:05 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] [newbie] What d

Re: [PHP-WIN] [newbie] What does this mean?

2003-01-07 Thread Stephen Edmonds
Open up your httpd.conf file and search for: DocumentRoot You need to change the setting so it points to the same directory as where your webpage is stored. In my case, I store my files in 'C:/Documents and Settings/Stephen/My Documents/Web Pages/', so I setting the Document Root to: DocumentRoot

RE: [PHP-WIN] newbie ...instal question.

2003-01-07 Thread paradiddles
Robert, Did you add this "php4apache2.dll" to the config file in some way? If so, how should I add it? thanks- pr "you can observe a lot by watching" ~ Yogi Berra - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

RE: [PHP-WIN] newbie ...instal question.

2003-01-07 Thread Robert Fisher
I just had the same problem the other day. and if I remember right I used the php4apache2.dll file. It worked just fine after that. I also did not have to include the AddModule line. hope this helps, Robert Fisher Axis Solutions, Inc. __ Do you

RE: [PHP-WIN] newbie ...instal question.

2003-01-06 Thread Dash McElroy
Did you copy the php4ts.dll file to c:\winnt\system32 (or windows or whatever your w2k dir is)? If that doesn't do the trick, you may have to do an 'AddModule mod_php4' in the Apache config. I had to do this on a Win98 machine yesterday, but have so far not had to load that line on any Win2k machi

Re: [PHP-WIN] Newbie Form Question

2002-12-17 Thread Joseph W. Goff
Just follow something along these lines: - Original Message - From: "Jerry" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 17, 2002 1:57 PM Subject: [PHP-WIN] Newbie Form Question > Hi All, > > I was playing around creating a simple Form for testing simple subtracti

RE: [PHP-WIN] Newbie Form Question

2002-12-17 Thread Sterling Anderson
Put a hidden field in your form: .. Then at the top of you page put something like: So now the form will have to be submitted before the calculations are done. Thought I am sure there are other ways. ___ Sterling Anderson Sys

Re: [PHP-WIN] newbie question (forms)

2002-12-14 Thread Luis Ferro
Better yet: if (!isset($a)) { $a = ""; } echo $a; ?> If the user passes something in the form, you will see it in the page, if not, it will show a empty string (which is equal to nothing in web, but avoids the warning). Always take note to the warnings... they can be just warn

RE: [PHP-WIN] newbie question (forms)-thank you

2002-12-13 Thread Elvin Certeza
EMAIL PROTECTED] Subject: Re: [PHP-WIN] newbie question (forms) Its just a warning. It tells you that you are using a variable which has no value. Just ignore the notice, or turn down error reporting to exclude notices. All it means is that the variable of $test which you have included in your scrip

RE: [PHP-WIN] newbie question (forms)

2002-12-12 Thread Dash McElroy
This probably has to do with one/both of two things: 1. register_globals is off (not a bad thing - just requires a tidbit more code. see http://php.net/register_globals) 2. A variable is being called before it has been initialized. Example PHP script: First you will get the undefined variable

Re: [PHP-WIN] newbie question (forms)

2002-12-12 Thread Stephen Edmonds
Its just a warning. It tells you that you are using a variable which has no value. Just ignore the notice, or turn down error reporting to exclude notices. All it means is that the variable of $test which you have included in your script HAS NO VALUE. If you were to write something like $test = "I

Re: [PHP-WIN] Newbie to the news!

2002-09-12 Thread Michael Baron
ewsgroup. > > -Dash > > -Original Message- > From: Constantin Baciu [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 12, 2002 1:48 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] Newbie to the news! > > > All I want to do is connect to the list

RE: [PHP-WIN] Newbie to the news!

2002-09-12 Thread dash php
-Dash -Original Message- From: Constantin Baciu [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 1:48 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Newbie to the news! All I want to do is connect to the lists with Outlook Express... I want to be able to read the posts and to po

Re: [PHP-WIN] Newbie to the news!

2002-09-12 Thread Constantin Baciu
tantin Baciu [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 12, 2002 3:21 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] Newbie to the news! > > But if I am not subscribed, I cannot post > > "David Hollister" <[EMAIL PROTECTED]> wrote i

RE: [PHP-WIN] Newbie to the news!

2002-09-12 Thread David Hollister
. That way you can deal with it when you want to and the messages won't come to your mailbox (at least not when you don't want them to). -Original Message- From: Constantin Baciu [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 3:21 PM To: [EMAIL PROTECTED] Subject: Re

Re: [PHP-WIN] Newbie to the news!

2002-09-12 Thread Constantin Baciu
But if I am not subscribed, I cannot post "David Hollister" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > unsubscribe from the mailing list @ php.net > > -Original Message- > From: Constantin Baciu [mailto:[EMAIL PROTECTED]] > Sent: Thursday, Sept

RE: [PHP-WIN] Newbie to the news!

2002-09-12 Thread David Hollister
unsubscribe from the mailing list @ php.net -Original Message- From: Constantin Baciu [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 3:00 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Newbie to the news! Hello... Do I really have to get ALL the messages in the mailbox? Isn'

RE: [PHP-WIN] Newbie: Setting content type

2002-08-21 Thread Ross Fleming
--Original Message- > From: Baz Langton [mailto:[EMAIL PROTECTED]] > Sent: 21 August 2002 16:30 > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] Newbie: Setting content type > > > So why does the following code:- > > header("Content-type: text/xml &quo

Re: [PHP-WIN] Newbie: Setting content type

2002-08-21 Thread Baz Langton
So why does the following code:- create_element("TEST"); $NewNode = $doc -> append_child($rootNode); ?> OR add_root("QUIZ"); $NewNode = $doc -> append_child($rootNode); ?> produce the following error:- The XML page cannot be displayed Cannot view XML input using style sheet. Please cor

RE: [PHP-WIN] Newbie: Setting content type

2002-08-21 Thread Ross Fleming
There must be a problem in your xml code that you are generating then. header("Content-type: text/xml"); is indeed how you set the content type to an xml page, as your test shows. The problem being is that phpinfo() generates an html document, not an xml one. The error you got was explorer tel

Re: [PHP-WIN] Newbie - Form Submission Question

2002-08-18 Thread Joachim Krebs
First of all let me scold you for running Apache and PHP on Windows 9x. The solution would be to make two inputs of type "submit" that have the same name but different values. Then when the form is submitted you check the variable $button_name and execute the relevant code. -- PHP Windows Mai

RE: [PHP-WIN] Newbie needs help.

2002-08-13 Thread Steve Jackson
t 2002 11:36 > To: Steve Jackson > Cc: Harrison Fisk; Zak Greant; David Axmark; Jeremy Cole; Olof Tjernren; > Jim Winstead; Bertrand Matthelié; Kaj Arnö; Rasmus > Subject: Re: [PHP-WIN] Newbie needs help. > > > Hallo Steve! > > As an addendum: a very easy way to install Apac

Re: [PHP-WIN] Newbie needs help.

2002-08-12 Thread leo g. divinagracia iii
forget all that stuff they told you to do... :) (just kidding folks) check out the various AMP (apache, mysql, php) triad installers out there that will do all the work for you. from configuring apache to work with php to configuring mysql for you. i use FORSERV's install (http://www.forserv

RE: [PHP-WIN] Newbie needs help.

2002-08-11 Thread Ross Fleming
You searched online for these answers?? http://www.php.net/manual/en/install.iis.php to install IIS Where did you install mysql to? If you went with the default installation, it will be in c:\mysql right? Run the program mysql.exe in the /lib folder and learn how to do the commands that create

Re: [PHP-WIN] Newbie needs help.

2002-08-11 Thread Jim Hunter
Another good tool for administering MySQL databases is phpMyAdmin. It is a browser based admin tool and you can get it from www.phpMyAdmin.org . I have been using it for about a year and I really like it. Jim Hunter Diamond Computing ---Original Message--- From: Steve Jackson

RE: [PHP-WIN] Newbie Question

2002-07-22 Thread Vail, Warren
Actually it's the "windows way". One of those valuable innovations that makes windows software a leader in technology. Figuring out which is which, keeps many people employed... hope you don't mind sarcasm... Warren Vail Tools, Metrics & Quality Processes -Original Message- From: Kit

Re: [PHP-WIN] newbie problem with quotes

2002-06-06 Thread Ilker Cetinkaya
"Steve Yates" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > "Prachi Shroff" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > the link just says > > javascript:window.open( > > Why would that happen? > > > R'twick Niceo

Re: [PHP-WIN] newbie problem with quotes

2002-06-05 Thread Steve Yates
"Prachi Shroff" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > the link just says > javascript:window.open( > Why would that happen? > R'twick Niceorgaw <[EMAIL PROTECTED]> wrote: echo " href=\"javascript:window.open(\"addfossilpage.php?me=$folder_id\",\"wid

Re: [PHP-WIN] newbie problem with quotes

2002-06-05 Thread prachi shroff
w () {"; echo "window.open (\"addfossilpage.php?me=$folder_id\",\"width=430\",\"height=450\");"; echo "}"; echo " "; echo 'Open New Window'; - Original Message - From: "prachi shroff" To: "R'twick Niceorgaw&qu

Re: [PHP-WIN] newbie problem with quotes

2002-06-05 Thread prachi shroff
Thank You for your prompt reply. Well, I have already tried these two options but somehow they dont work. When I click on the hyperlink created by this line, the link just says javascript:window.open( Why would that happen? It is ok with the first quote, but it ignores everything after the s

Re: [PHP-WIN] Newbie Question

2002-04-08 Thread Hubert DAUL
Thanks for your help, but i've found what was wrong, it was in the code, but in the data file I wrote the picture name with first letter uppercase and unix server doesn(t like it Thanks again Hubert Lyon, France -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://

Re: [PHP-WIN] Newbie Question

2002-04-08 Thread Mike Flynn
At 03:31 PM 4/8/2002 +0200, Alberto. Sartori wrote: >You should do the cicle and get the datas until you reach the end of file >aka feof($fp) or better, try to use fread() Yup, good point. Here's the modified code.. not using fread() though. For non-binary data I think this should work ok tho

Re: [PHP-WIN] Newbie Question

2002-04-08 Thread Mike Flynn
Give this a shot... "); print("$vignette"); print(""); print("$marque"); print("$nom"); print("$pdfproduit"); print("$commprod"); print(""); } ?> At 08:54 AM 4/8/2002 +0200, Hubert DAUL wrote: >Hi , > >Here's my problem : > >I read a data file (no sql file)

Re: [PHP-WIN] Newbie Question: Creating database

2002-01-04 Thread Jack Cazes
Actually I think I'm beginning to understand it. In the Mysql database is a USER table. In that table contains all the users and privileges...is this correct? Is there anyway of specifiying a certain user to a certain databasethat is only user A is allowed to access database B? Thanks again

RE: [PHP-WIN] Newbie Question: Creating database

2002-01-04 Thread Carl Campbell
I think it will suit you well, to get (and install) the 'phpMyAdmin' package. It will simplify the aspect of creating and maintaining the database, while you learn the ins-and-outs of MySQL. You may want to invest some time in reading and learning the MySQL documentation. Especially the part wh

Re: [PHP-WIN] newbie

2001-05-16 Thread Alan Popow
On Wed, 16 May 2001 18:20:09 -0400, you wrote: >my one book tells me to save a php file I have created to "document root >directory for your web server" as generic filename.php > >I cannot figure out where that file should go so I may call it with IE >browser If you installed apache to it's def

Re: [PHP-WIN] Newbie question - Getting the path ?

2001-04-30 Thread Dane Carlsson
thanks for the speedy reply your not wrong about phpinfo ill go tinker with it now :) - Original Message - From: Tomasz Abramowicz <[EMAIL PROTECTED]> To: Dane Carlsson <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, May 01, 2001 4:53 AM Subject: Re: [PHP-WI

Re: [PHP-WIN] Newbie question - Getting the path ?

2001-04-30 Thread Tomasz Abramowicz
> Hi, > > Is there a function to get the current path? make a file with in it. You will get all the variables you can dream of includeing $DOCUMENT_ROOT and $PHP_SELF which you might find interesting. > I haven't be able to locate one in a quick browse over the documentation. if you know mor

RE: [PHP-WIN] Newbie-questionning: Errors in nearly every Downloaded Script

2001-04-26 Thread Schulz, Evan
Edit your php.ini. Find "error_reporting" and set it to something that will ignore notices. I like mine set as follows: error_reporting= E_ALL & ~(E_NOTICE | E_USER_NOTICE) ; Technically it is better to just have it at E_ALL for better coding and some might argue better security. You don't _h

Re: [PHP-WIN] newbie needs help setting up PHP4 with win98 SE and PWS

2001-04-19 Thread Phil Driscoll
>Here are the specifics, AFAIK, of my situation. > >- OS is win98 SE >- PHP version 4 >- installed MS PWS via the NT 4 option pack To the best of my knowledge the NT4 option pack installs IIS on NT server, and cut down version of IIS which they call PWS on NT workstation. On windows 98, I've no

Re: [PHP-WIN] Newbie back for more

2001-04-19 Thread Johannes Janson
Hi, for TEXT you don't specify a length. TINYTEXT A BLOB or TEXT column with a maximum length of 255 (2^8 - 1) characters. TEXT A BLOB or TEXT column with a maximum length of 65535 (2^16 - 1) characters. MEDIUMTEXT A BLOB or TEXT column with a maximum length of 16777215 (2^24 - 1) characters.

Re: [PHP-WIN] Newbie seeks help with PHP and MySQL

2001-04-18 Thread Plutarck
Read the MySQL manual, chapter 6.12 entitled "Setting up the intitial MySQL privileges". You'll want to create a username and password, and then GRANT it the proper privileges. Then just alter your mysql_connect to reflect your username and password, and it should all work fine again. -- Pluta

Re: [PHP-WIN] Newbie seeks help with PHP and MySQL

2001-04-18 Thread Johannes Janson
Hi, did you set up a user? If not did you connect as "root"? Have you set a password for your root? Questions, questions. Some hints though: If you haven't set a pswd for root do so. Go to msdos, tpye the path of the mysql\bin directory and then "mysql -u root". You should now be in the mysql-she

Re: [PHP-WIN] Newbie: Help on mySQL !!!

2001-03-11 Thread Ralph Alberti
I'm pretty new at php too but I think you are going about it all wrong. First create a php script that accesses MySQL. Like this: Then put it on your web tree. Then point to it with your browser. I think you can execute a php script from the command line but I'm not sure. I haven't done it.

Re: [PHP-WIN] Newbie question

2001-02-27 Thread Gonzalo Vera
It is slower. Maybe not REEAALLY slower if you don't have much traffic, but when it comes to kicks, you're losing quite some performance. I would suggest that you have a look at some of the DB abstraction layer classes available un phpclasses.upperdesign.com or at www.hotscripts.com; they could co

RE: [PHP-WIN] Newbie question...

2001-02-23 Thread Mayo, Bill
t; Cc: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] Newbie question... > > don't like being picky, but you may be thinking of MySQL where > % is the multiple character wildcard (eg select 'David!' LIKE '%D%v%';) > _ is the single character wildcard (e

Re: [PHP-WIN] Newbie question...

2001-02-23 Thread Tom Mathews
don't like being picky, but you may be thinking of MySQL where % is the multiple character wildcard (eg select 'David!' LIKE '%D%v%';) _ is the single character wildcard (eg select 'David' LIKE 'Davi_'; Tom Ben Cairns wrote: > The wildcard in PHP is a % > > E.G. > select * from YOUR_TABLE where

RE: [PHP-WIN] Newbie question...

2001-02-23 Thread Ben Cairns
The wildcard in PHP is a % E.G. select * from YOUR_TABLE where SOME_FIELD like '%$dan%'"; Hope this helps -- Ben Cairns - Head Of Technical Operations intasept.COM Tel: 01332 365333 Fax: 01332 346010 E-Mail: [EMAIL PROTECTED] Web: http://www.intasept.com "MAKING sense of the INFORMATION TECHNO

Re: [PHP-WIN] Newbie - Help!!!!!

2001-02-01 Thread Tom Mathews
If there was an error with the DB connection, then the 'or die' clause should pick it up? If nothing has changed between the IIS nad Apache implementation then I don't know what is happenning If however you have changed the table structure at the same time... or maybe don't have any records on you

Re: [PHP-WIN] Newbie - Help!!!!!

2001-02-01 Thread Toby Miller
mysql_error()); } } else { // continue, this is a valid returned result set } Let me know if this helps. -Toby - Original Message - From: "Tom Mathews" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, February 01, 2001 11:15 AM Subject: Re: [PHP-

Re: [PHP-WIN] Newbie - Help!!!!!

2001-02-01 Thread Toby Miller
There seems to be a problem with your database connection. Can we see the header include? -Toby - Original Message - From: "Robert Trembath" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 01, 2001 10:20 AM Subject: [PHP-WIN] Newbie - Help! I don't understand