Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
1 1 4
Newest
 Editor
Impact
~414 people reached

  • 0 posts edited
  • 0 helpful flags
  • 16 votes cast
Jan
22
comment How to set custom $_SERVER variable for PHP
When you say server, you mean domain? right?
Jan
22
comment How to set custom $_SERVER variable for PHP
I know that, but you can execute your scripts separately. For example php -f script.php host_number1 or php -f script.php host_number2
Jan
22
revised How to set custom $_SERVER variable for PHP
added 678 characters in body
Jan
22
awarded  Editor
Jan
22
revised How to set custom $_SERVER variable for PHP
added 678 characters in body
Jan
22
answered How to set custom $_SERVER variable for PHP
Jan
22
comment How to set custom $_SERVER variable for PHP
@SDP Yes, I mean something like that!
Jan
22
comment How to set custom $_SERVER variable for PHP
Can you run them separately? each with its own CL parameter?
Jan
22
comment How to set custom $_SERVER variable for PHP
$_SERVER will be defined either way but environment variables are there because of Apache, when you use CL to execute your script, Apache won't be involved in the process, so there will be no environment variables!
Jan
1
awarded  Supporter
Dec
12
awarded  Fanatic
Oct
3
awarded  Enthusiast
Sep
8
awarded  Autobiographer
Aug
20
comment .htaccess doesn't redirect to www-prefixed page properly
can you put all content of file here
Aug
13
awarded  Teacher
Aug
13
answered multiple domain name pointing to same place that need www before domain