PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
what i need to do is link to a php page called redirect.php and when this page loads i want to redirect it to my ftp server in a popup or new browser window without having to click a link
thanx
try making a JS function to open a page in a new window, and then in your redirect.php(it doesn't even have to be a php file) you can put
<body onLoad="newWin()"> where newWin() is the name of your JS function taht open a new window.
Actually, it wouldn't even have to be a different page. you could put that JS function in your main page that has the link to redirect.php, and then on your link just do something like:
<a href="#" onClick="newWin()">FTP</a>