[PHP] checkbox => POST => array??

2002-08-10 Thread PeterV
I, I don't have my books here and it's been a while since I did PHP, and google isn't helping: How do I code a bunch of checkboxes with id's, and then loop trough the result as an array after POSTing it? What I have now: doesn't return an array $topic?? Thanks, Peter -- PHP General Mailing L

[PHP] "Invalid content" using FastTemplates

2002-07-09 Thread PeterV
Help! I was using FastTemplates on my local machine AND on my personal server and it all worked well. When I am uploading the code to my client's server today, I get this strange warning whenever using FastTemplates: Warning: Invalid content of \{\} in /home/httpd/includes/fasttemplate.class.

Re: [PHP] "Invalid content" using FastTemplates

2002-07-09 Thread PeterV
I am using php4.0.6, and on this page http://twig.screwdriver.net/file.php3?file=FAQ&plaintext=1 I found a mention of this error saying that it is because of changes in PHP4. However, I am using PHP 4 locally and on the test server and they both work. Do I have to ask them to upgrade to PHP 4.2.

Re: [PHP] "Invalid content" using FastTemplates

2002-07-09 Thread PeterV
The fix presented on the top of this page http://www.thewebmasters.net/php/FastTemplate.phtml Doesn't solve the problem. I have tried to replace $key = '{'."$key".'}';½ with $key = '\{'."$key".'\}'; still no luck! Is there a version of FastTemplates available somewhere that just works? thanks Pet

[PHP] php script for backlinks?

2002-05-12 Thread PeterV
http://www.iawiki.net/ReferrerLinking I'm looking for existing PHP scripts that generate a list of pages linking to your page. Anything already written out there? Thanks, Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] newbie: redirecting a POSTed form

2002-05-29 Thread PeterV
Hi, I have to redirect a POSTed form, ie. a form gets posted to my PHP page, and I then do some database stuff and then redirect it to another site. I know of header("http://othersite.com";); to redirect a simple URL request, but how can I redirect a post with a bunch of form fields in it? I do

RE: [PHP] newbie: redirecting a POSTed form

2002-05-29 Thread PeterV
>I think the CURL library >(http://www.php.net/manual/en/ref.curl.php) is your best bet for >doing this, since you must need SSL (you mentioned credit card >authorization). Is there not a simpler way of doing this?? I thought there would be... I can't install extra software on the server. help?