Phorum.ro
Your Avatar Welcome to Phorum.ro!
If you haven't registered yet, click here!
Attention Visitor:
You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Du-te înapoi   Phorum.ro > Web Design & Web Development > Programare > PHP > Discutii Generale

Discutii Generale Discutii generale despre PHP.

Răspunde
 
Thread Tools Moduri de afișare
Vechi 17.02.2007   #1
Tavicu
Beat in post!
 
Tavicu's Avatar
 
Data înregistrării: 26.11.2005
Vârsta: 21
Mesaje: 321
Rep Power: 7
Tavicu is on a distinguished road
Trimite un mesaj prin Yahoo pentru Tavicu
Implicit ns si html

Buna ziua...

Am si eu 3 probleme(intrebari)

1.Cum pot face ca din php sau altele sa creez un DNS de tip A
2.Cum pot face ca o pagina care este de ex test.php?id=1 sa devina test-1.html
3.Cum pot face din php sa verifice daca userul are setat proxy?

Multumesc

Last edited by Tavicu; 17.02.2007 at 13:36:17.
Tavicu is offline   Reply With Quote
Sponsored Links
Vechi 18.02.2007   #2
comandrei
32-Bit Member
 
comandrei's Avatar
 
Data înregistrării: 30.03.2006
Locație: 127.0.0.1
Vârsta: 21
Mesaje: 171
Rep Power: 7
comandrei is on a distinguished road
Exclamation

1. Nu te pot ajuta
2. Te-am mai ajutat (mod_rewrite) aici
3. echo $_SERVER['REMOTE_ADDR']; acolo afiseaza proxy-ul
__________________
clog.ro - catalog virtual
comandrei is offline   Reply With Quote
Vechi 18.02.2007   #3
Tavicu
Beat in post!
 
Tavicu's Avatar
 
Data înregistrării: 26.11.2005
Vârsta: 21
Mesaje: 321
Rep Power: 7
Tavicu is on a distinguished road
Trimite un mesaj prin Yahoo pentru Tavicu
Implicit

Citat:
În prealabil postat de comandrei
1. Nu te pot ajuta
2. Te-am mai ajutat (mod_rewrite) aici
3. echo $_SERVER['REMOTE_ADDR']; acolo afiseaza proxy-ul

Multumesc

2.M-ai mai ajutat dar nu am reusit sa pun variabila intr-un html....


Uite cum am pus in ht:


Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteRule ^.htaccess$ - [F]
RewriteRule ^test-(.*)$.html test.php?id=$1 [NC,L]


si cand intru pe test-3.html da eroare 404 ca nu exista pag...


P.S Gata am rezolvat cu pasu 2...trebuia pus .html inainte de $

Last edited by Tavicu; 18.02.2007 at 15:00:23.
Tavicu is offline   Reply With Quote
Răspunde


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Moduri de afișare

Reguli de postare
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Pornit
emoticoanele sunt Pornit
Codul [IMG] este Pornit
Codul HTML este Pornit



Ora este GMT +3. Ora este acum 01:46:13.


Rulează cu: vBulletin Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Forum SEO by Zoints

XXXXXXXXXXXXXXXXXXX
Inactive Reminders By Icora Web Design