Search found 5 matches

by bigno34
Wed May 22, 2002 10:22 am
Forum: PHP - Code
Topic: Passing a URL as a variable html to php
Replies: 7
Views: 4286

Ohhhhh poor stupid me... I hadn't noticed that I'd taken the comments off the hardcoding so my script wasn't using the variable from the HTML form any more. When I put the comments back in, nothing works anymore... I tried using urldecode as well to process the var but that doesn't work either. Ughh...
by bigno34
Wed May 22, 2002 10:09 am
Forum: PHP - Code
Topic: Passing a URL as a variable html to php
Replies: 7
Views: 4286

passing a URL as a var

Well waddaya know, I flipped your idea upside down and it worked. In env_art.php I added the following code $article = str_replace("%2F","/",$article); $article = str_replace("%3A",":",$article); $article = str_replace("%2E",".",$article); ...
by bigno34
Wed May 22, 2002 9:54 am
Forum: PHP - Code
Topic: Passing a URL as a variable html to php
Replies: 7
Views: 4286

passing a URL as a var

Well waddaya know, I flipped your idea upside down and it worked. In env_art.php I added the following code $article = str_replace("%2F","/",$article); $article = str_replace("%3A",":",$article); $article = str_replace("%2E",".",$article); ...
by bigno34
Wed May 22, 2002 6:27 am
Forum: PHP - Code
Topic: Passing a URL as a variable html to php
Replies: 7
Views: 4286

You're asking me to put PHP code into my HTML page ???? This seems to confirm what other people had told me, that passing variables (URLs) only works from one php page to another. The thing is I'm STARTING with an HTML page and ending up on another PHP page. Isn't there a trick to unscramble the URL...
by bigno34
Tue May 21, 2002 9:43 pm
Forum: PHP - Code
Topic: Passing a URL as a variable html to php
Replies: 7
Views: 4286

Passing a URL as a variable html to php

Hello, I have a web site with a number of ordinary HTML pages containing articles. I recently discovered a PHP script that allows web pages to be emailed to a friend. I like this idea however, the original script worked within a PHP page. Get the script at (I've only kept the email portion): http:/...