[PHP] Couldn't run PHP script from CGI-BIN

2001-05-04 Thread Nguyen, David M

I can run PHP script from any directories on my web server but except
cgi-bin directory.  When I put PHP script inot CGI-BIN and run it from my
browser, I receive below error.  Does anyone know why?  Please help.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.

Thanks,
David N.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PHP with Oracle

2001-02-07 Thread Nguyen, David M

I try to use PHP to access Oracle DB.  Can someone point me to a good place
for demo/sample website or documentation how to do that?  I just want how to
use PHP and Oracle DB only.

Thanks,
David

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Why???

2001-02-14 Thread Nguyen, David M

Hi all,

I have a PHP web form setup for user to fill in information then email it to
me after pressing SUBMIT button.  Everytime user uses double-quote(") or
single(') it inserts (/) right in front of " or '.  Does anyone know why and
how to fix it?  Please advise.  Below is example of what I got from my email
when user submits form to me. 


Topic: Added \"Initial login to the EMS\" procedure.


Thanks in advance,
David

 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Why???

2001-02-14 Thread Nguyen, David M

The / is coming from $topic, how do I use stripslashes to remove / .  Can
someone give me an example how to code it?

Here is my original PHP script:

\n");
print ("\n");
print ("$title\n");
print ("\n");
print ("\n");
print ("Thank you.  Your submission has been sent. Back to Home Page.\n");
print ("\n");
print ("");

==



-Original Message-
From: John Vanderbeck [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 10:07 AM
To: Nguyen, David M; [EMAIL PROTECTED]
Subject: Re: [PHP] Why???


I can help you there, as I had the same problem until someone else helped
me.  This is because PHP will escape the input it gets.  I think this is
dependant on some enviroment setting, but I can't recall which one.

To fix it you call stripslashes($var);

- John Vanderbeck
- Admin, GameDesign

- Original Message -
From: "Nguyen, David M" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 14, 2001 11:02 AM
Subject: [PHP] Why???


> Hi all,
>
> I have a PHP web form setup for user to fill in information then email it
to
> me after pressing SUBMIT button.  Everytime user uses double-quote(") or
> single(') it inserts (/) right in front of " or '.  Does anyone know why
and
> how to fix it?  Please advise.  Below is example of what I got from my
email
> when user submits form to me.
>
>
> Topic: Added \"Initial login to the EMS\" procedure.
>
>
> Thanks in advance,
> David
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] How to make text BOLD

2001-02-16 Thread Nguyen, David M

I want to make my text BOLD using either  or  but it
did not work with PHP.  Can someone please advise why not or if there is
another way to do it.

Thanks,
David 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] How to make text BOLD

2001-02-16 Thread Nguyen, David M

Below is my script and the output I got, I want DATE and EQUIPMENT TO BE
BOLD:

$message = "The following Webpage is added or updated:\n\nDate:
$date\nEquipment: $equipment\nTopic: $topic\nURL: $url"; 
mail( $to, $subject, $message, $mail_header ) or print "Could not send
mail";   
 

print ("\n");

print ("\n");

print ("$title\n");

print ("\n");

print ("\n");   


SEE what I got from output:

Date: Fri, February 2001 - 09:50:38
Equipment: General


Please advise how to fix it.

Thanks,
David 

-Original Message-
From: Hoover, Josh [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 9:35 AM
To: Nguyen, David M; [EMAIL PROTECTED]
Subject: RE: [PHP] How to make text BOLD 


Could you send an example of how you're using the bold/strong tags in your
PHP code?  If we see it, we can probably help you out better :)

Josh Hoover
KnowledgeStorm, Inc.

Searching for a new IT solution for your company? Need to improve your
product marketing? 
Visit KnowledgeStorm at www.knowledgestorm.com to learn how we can simplify
the process for you.
KnowledgeStorm - Your IT Search Starts Here

> I want to make my text BOLD using either  or 
>  but it
> did not work with PHP.  Can someone please advise why not or 
> if there is
> another way to do it.
> 
> Thanks,
> David 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]