PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
Appel URL depuis projet PHP
Appel URL depuis projet PHP
Started by Fabien, Mar., 14 2005 7:03 PM - 1 reply
Connect yourself…
Fabien
#1
Posted on March, 14 2005 - 7:03 PM
Comment appeler une URL depuis une page webdev en mode PHP (équivalent à naviguateurOuvre)?
Exemple:
// dans code d'initialisation de ma page (serveur PHP)
MonUrl est une chaine="
http://forum.pcsoft.fr/…
"
Pageaffiche(MonUrl) ==> uniquement pages du projet
NaviguateurOuvre(MonUrl) ==> fonctionne pas en mode PHP
Dans un script PHP d'un champ : header("Location : ".$MonUrl); ==> génére erreur 'Cannot modify header information - headers already sent by..'
Dans un script JS d'un champ : document.location.replace(MonUrl); ==> variable MonUrl inconnu.
Je tourne en rond !!!
Quelle est la bonne syntaxe ?
Report
0
0
jean daniel
#2
Posted on March, 15 2005 - 5:25 PM
Bonjour,
navigateurouvre fonctionne en code nanigateur
ou alore mettre l'url dans un lien personnalisé
Fabien a écrit :
Comment appeler une URL depuis une page webdev en mode PHP (équivalent à
naviguateurOuvre)?
Exemple:
// dans code d'initialisation de ma page (serveur PHP)
MonUrl est une
chaine="
http://forum.pcsoft.fr/…
"
Pageaffiche(MonUrl) ==> uniquement pages du projet
NaviguateurOuvre(MonUrl) ==> fonctionne pas en mode PHP
Dans un script PHP d'un champ : header("Location : ".$MonUrl); ==> génére
erreur 'Cannot modify header information - headers already sent by..'
Dans un script JS d'un champ : document.location.replace(MonUrl); ==>
variable MonUrl inconnu.
Je tourne en rond !!!
Quelle est la bonne syntaxe ?
--
Ceci est une signature automatique de MesNews.
Site :
http://www.mesnews.net
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
WEBDEV (earlier versions)
WINDEV Mobile (earlier versions)
Reports & Queries
Off-topic
Tools
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text