![]() |
|
#1
|
|||
|
|||
php linkim trying to make a link catch some data form a form and post this is the best i can come up with
PHP Code:
cant get this to work the error message i get Warning: Wrong parameter count for link() in /home/sites/site15/web/pmsg2.php on line 101 |
|
#2
|
||||
|
||||
|
What are you trying to do?
Whatever you're using it for, you're supposed to give it 2 string values. e.g. $result = link( '/target', '/link' ); I personally have not used this particular function since it doesn't seem to be supported in the version of PHP (for Windows) that I use. BTW, it's preferred that you use $_POST['name'] instead of $HTTP_POST_VARS['name'] if you're using the latest version of PHP (i.e. 4.2+). __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
|||
|
|||
i needwhat i need it to do is if someone types in sesilva that will send the message to sesilva.txt i need it to add a link at the buttom saying view msg here and it will link to whatever they typed .txt
like sesilva will send them to sesilva.txt i hope i said this so you can under stanmd what im saying |
|
#4
|
||||
|
||||
Custom make_link() function in PHPOh I see...
Perhaps this is something you can try to work on: PHP Code:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#5
|
|||
|
|||
i dont need it to be already set to a filewhat i need it to do is if someone types in sesilva that will send the message to sesilva.txt i need it to add a link at the buttom saying view msg here and it will link to whatever they typed .txt
like sesilva will send them to sesilva.txt i hope i said this so you can under stanmd what im saying never worked with links befor in php this is the best i can come up with i get a error message PHP Code:
Wrong parameter count for link() in |
Recent GIDBlog
Last Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Optimizing your web server with Turck MMCache for PHP | JdS | Web Hosting Forum | 2 | 07-Jan-2004 07:48 |
| apache2 - php cgi fehler - schleife | inna | Apache Web Server Forum | 8 | 27-Nov-2003 09:55 |
| [Linux] Installing PHP --with-mcrypt | JdS | Web Hosting Forum | 0 | 20-Aug-2003 08:40 |
| All the big PHP script collections that matter | jrobbio | MySQL / PHP Forum | 5 | 06-Jun-2003 16:14 |
| Top 10 PHP sites according to alexa | jrobbio | MySQL / PHP Forum | 0 | 03-Jun-2003 03:36 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The