Re: [PHP] Re-directing

2001-05-12 Thread Young Chi-Yeung Fan
Todd Cary wrote: > In my Index.html, what do I write so that the Surfer goes to my > Start.Php? It should work to have this after your opening HTML tag in index.html: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] Books!

2001-05-12 Thread Young Chi-Yeung Fan
FredrikAT wrote: > Can anyone recommend a php(/mysql) book? I like Paul DuBois's book "MySQL". There are a few sections on PHP and how to use it with MySQL. Aside from that, I think the online resources are more than sufficient to learn PHP -- you don't need to get a book. Young -- PHP Gener

Re: [PHP] grep all pages

2001-05-11 Thread Young Chi-Yeung Fan
Yamin Prabudy wrote: > Hi there > I like to know can i grep a page say on http://www.somedomain.com > (just the index.html) > if it's possible can any guru out there enlight me how to do that I haven't done what you're trying myself, but the info on these two pages might be helpful: http://www.

Re: [PHP] Hidden Input and Quotes?

2001-05-11 Thread Young Chi-Yeung Fan
Jason Caldwell wrote: > > The " will be translated back into " > > when your form is submitted. > > ?? I don't have to convert back?? -- when I eventually submit my Hidden > Input Fields into my mySQL DB, they'll be converted back to " ? > > Confused If you have , then when you submit your

Re: [PHP] Please help me with this.

2001-05-11 Thread Young Chi-Yeung Fan
"Johan Vikerskog (ECS)" wrote: > ok. > I have this problem of mine which i dont know how to solve. therefor i use this >great mailing list. > > Lets say i have a URL that looks something like below. This URL was generated from a >program that starts netscape with this adress. This adress is of

Re: [PHP] Hidden Input and Quotes?

2001-05-11 Thread Young Chi-Yeung Fan
Jason Caldwell wrote: > If I have a text box and enter data into that text box with "quotes" around > some of the text... and I want to throw that text into a HTML Hidden Input > Field (on my next screen for example) -- the quotes will somehow jackup or > truncate that text... because HTML uses "

[PHP] HTTP message

2001-04-25 Thread Young Chi-Yeung Fan
Is it possible from PHP to look at the HTTP message sent to a script? If so, how can I do it? e.g.: POST /MessageReceiver.jsp HTTP/1.0 Host: www.SomeHost.net Content-Type: application/x-www-form-urlencoded Content-Length: 105 XML=%3C?xml%20version%3D%221.0%22%20encoding%3D%22utf-8%22?%3E%0A%3Cd

[PHP] Generating XML

2001-04-25 Thread Young Chi-Yeung Fan
Hi, I'm trying to write a script that generates XML dynamically and is viewable in a browser (IE). Even though I send a header saying "Content-type: text/xml\n", PHP still puts in a Content-type of text/html before that. How can I write the script so that this doesn't happen? Here's the script: