Search found 6 matches

by shufty
Sun Aug 18, 2002 11:06 am
Forum: PHP coding => General
Topic: URL variables
Replies: 5
Views: 2549

sorry, i'm lost now.

could you show me how i would assign the values to the variables and then structure the URL.

thanks :cry:
by shufty
Sat Aug 17, 2002 6:01 pm
Forum: PHP coding => General
Topic: headers and footers
Replies: 2
Views: 1817

headers and footers

How would i create a file that has the header and footer code in it so it can be required into a page and the header and footer got out of it? eg. in a poll, i: <?php require('booth.php'); ?> and at the poll's location, i have <?php echo $php_poll->poll_process(newest); ?> like this ...
by shufty
Sat Aug 17, 2002 1:58 pm
Forum: PHP Scripts
Topic: Sytax to call a function when Submit button is clicked
Replies: 6
Views: 3334

well if its in a form then request the function in the form action

Code: Select all

<form name="form2" action="function()" method="POST">


that should work
by shufty
Sat Aug 17, 2002 1:41 pm
Forum: PHP coding => General
Topic: Alternative to chmod??
Replies: 4
Views: 2358

if the directory is 755 then you could create a new directory which you could CHMOD to 777 or 666 whcih would allow for the file to be changed/created. if there is an admin for the script then put it in there as it is kind of obvious where a config file is if its in a directory called config
by shufty
Sat Aug 17, 2002 1:03 pm
Forum: PHP coding => General
Topic: URL variables
Replies: 5
Views: 2549

no im not im afraid. so how would i declare a load of variables then. like this $HTTP_GET_VARS['$var, $var2, $var3.....'] this $_GET['$var, $var2, $var3.....'] or this $var=./page/page/page.php, $var2=./page/........., $var3=./page/.......... what i am try to achieve is this m am i close with that?
by shufty
Sat Aug 17, 2002 5:56 am
Forum: PHP coding => General
Topic: URL variables
Replies: 5
Views: 2549

URL variables

i am new to PHP totally. All i can do is includes. :cry: what i would like to be able to do is declare a set of variables that have URLs as their values. then use the $HTTP_GET_VARS: thing to get the page and have it display it. the variables i have no idea how to do but i think i know how to do the...