php-general Digest 9 Sep 2001 18:56:01 -0000 Issue 866

Topics (messages 66587 through 66620):

Re: Homesite & php
        66587 by: Hugh Danaher
        66594 by: John Lim

HTTP_X_FORWARDED_FOR
        66588 by: Tobias Strauß

session.gc_probability
        66589 by: Tobias Strauß

Re: Sterilize user input function
        66590 by: B. van Ouwerkerk
        66595 by: Christian Reiniger
        66596 by: Sean C. McCarthy

socket_set_timeout() on win32?
        66591 by: Jan Havel

Table creation problems...
        66592 by: Jonathan Halterman

newby : MySql
        66593 by: Nikola Veber

Grafiti board...
        66597 by: Kyle Smith

multiple & array problem
        66598 by: Teqila MAN
        66599 by: bard

new to php
        66600 by: Kostis Mentzelos
        66602 by: Hugh Bothwell
        66603 by: ReDucTor
        66605 by: B. van Ouwerkerk
        66607 by: B. van Ouwerkerk

Site Layouts/Designs
        66601 by: ReDucTor
        66606 by: B. van Ouwerkerk
        66610 by: ReDucTor
        66614 by: Andrew Brampton

Just had a cool idea!
        66604 by: Kyle Smith
        66609 by: B. van Ouwerkerk
        66611 by: ReDucTor
        66617 by: Kyle Smith

Mailing list
        66608 by: Sheni R. Meledath

mod_rewrite
        66612 by: BRACK
        66616 by: Matthew Loff
        66618 by: BRACK
        66619 by: Felix

JavaScript, PHP cooperation.
        66613 by: Alexander Deruwe

Re: Sending Broadcast Email - will a large loop cause a crash?
        66615 by: Alexander Skwar

difference between <?php and <?
        66620 by: php_guy.ns.visors.com.hk

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


Hi,
I'm using homesite 4.5.1 and I've not had the problem you describe.
However, since I use a remote server, when I have a php page up, and go to
design view, funny things do happen.  I just don't go there anymore.
Hugh
----- Original Message -----
From: Andonny <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 08, 2001 8:17 PM
Subject: [PHP] Homesite & php


> Hi,
> Does the new version of  homesite still have the same result with php.
When
> I used to change anything in Design View and then went back to Edit View
> the ?>  became  ?&gt.   Does this still happen???
>
> Thanks
> Andonny
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>





Yep,

As far as I know, it's not recommended by Allaire themselves to use Design
mode with PHP/ASP unless you want it to muck around with your code, only for
pure HTML.

Bye, John



"Hugh Danaher" <[EMAIL PROTECTED]> wrote in message
001901c138fe$31583ec0$c1fdb3d1@win95">news:001901c138fe$31583ec0$c1fdb3d1@win95...
> Hi,
> I'm using homesite 4.5.1 and I've not had the problem you describe.
> However, since I use a remote server, when I have a php page up, and go to
> design view, funny things do happen.  I just don't go there anymore.
> Hugh
> ----- Original Message -----
> From: Andonny <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, September 08, 2001 8:17 PM
> Subject: [PHP] Homesite & php
>
>
> > Hi,
> > Does the new version of  homesite still have the same result with php.
> When
> > I used to change anything in Design View and then went back to Edit View
> > the ?>  became  ?&gt.   Does this still happen???
> >
> > Thanks
> > Andonny
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>






On php.net I found this:

When you use REMOTE_ADDR for getting the IP of the current user, sometimes
you get the IP of the ISP Cache server.
When this happens, the HTTP_X_FORWARDED_FOR is also set, it contains the IP
of the user.
[...]
Note that the X-Forwarded for header might contain multiple addresses, comma
separated, if the request was forwarded through multiple proxies.
[...]

My question is:
If the X-Forwarded for header contains multiple addresses, comma separated,
where do I find the one of the user? (I which order does it contain the
adresses?)
Do I get the right order (from the last proxies (at the beginning) to the
user itself (at the end)) when I do this:
$ip_route = $HTTP_SERVER_VARS["REMOTE_ADDR"] . "," .
$HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"];
So that I finally have a chronological sorted list (i know: a string that
contains the comma seperated ip-addresses of the users way to me (if they
were forwarded by the proxie))? Am I right?

Thanks for any coments about this.






The session handling of php seems not to work very well on my computer:
if  session.gc_probability is set to a value smaler 35, it never executes my
gabarage_collection-function. When it is bigger than 35, it's executed every
time.
I'm using W2K and php 4.02? Does anybody knows the reason for this?







>I think my question could be restated to: What characters are potentially
>lethal in user input.  I can do the regex.  But don't know what to parse out
>of the strings.
>
>would removing  \ /  .  do the trick?

Why whould you want to strip things? Check if the input meets a certain 
requirement.. like US phone numbers should be something like 123-456-7890
So, anything else is NOT valid.

You could also check the length of the string send.

Bye,

B.





On Sunday 09 September 2001 04:46, Kevin wrote:
> I think my question could be restated to: What characters are
> potentially lethal in user input.  I can do the regex.  But don't know
> what to parse out of the strings.
>
> would removing  \ /  .  do the trick?

You mean http://php.net/addslashes I suppose. Also read through the 
config section (magic_quotes_*)

-- 
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)

The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka", but "That's funny..."

- Isaac Asimov




Hi, 

You might want to have a look at
http://www.thewebmasters.net/php/Validator.phtml is a class for
validating serveral things. It is a PHP class. You can have a look at
the regexps they have used. But as stated before it would be better to
check the syntax instead... if it is not a phone number just do not
accept it and require the user to enter it again.

        Sean C. McCarhy
        SCI, S.L. (www.sci-spain.com)

Christian Reiniger wrote:
> 
> On Sunday 09 September 2001 04:46, Kevin wrote:
> > I think my question could be restated to: What characters are
> > potentially lethal in user input.  I can do the regex.  But don't know
> > what to parse out of the strings.
> >
> > would removing  \ /  .  do the trick?
> 
> You mean http://php.net/addslashes I suppose. Also read through the
> config section (magic_quotes_*)
> 
> --
> Christian Reiniger
> LGDC Webmaster (http://lgdc.sunsite.dk/)
> 
> The most exciting phrase to hear in science, the one that heralds new
> discoveries, is not "Eureka", but "That's funny..."
> 
> - Isaac Asimov
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]




Hi!

Please help me.
"Warning: socket_set_timeout() is not supported in this PHP build in ....."


Can I use function socket_set_timeout() on win32?
In documentation is not any comment about availability on win32.
I am finding informations about long time, but unsuccessful :(


Thanks you for any info.
Jan







Hello,

I have been trying to create a table by the name of an ID field in another
table. My code looks something like this...

$result = mysql_db_query($db,"insert into $board_rooms set
parentid='$catid', title='$title', description='$description'");
$groupid = mysql_insert_id();
settype($groupid, "string")
$result = mysql_db_query($db, "CREATE TABLE $groupid (`topicid` INT NOT
NULL, `parentid` INT NOT NULL, `topic` TINYINT NOT NULL, `text` TEXT NOT
NULL, `user` VARCHAR(20) NOT NULL, `lastactive` DATETIME NOT NULL, `created`
DATETIME NOT NULL, `posts` INT NOT NULL , PRIMARY KEY (`topicid`), UNIQUE
(`topicid`))");

The problem comes in the last statement, where I am trying to create a table
by the name of the $groupid variable which was pulled another table's ID
field via mysql_insert_id(). I then attempted to convert the $groupid to a
string, just to make sure it would be ok to use as a table name, but that
doesn't do anything. I know that using the $groupid is my only problem with
the table creation, becuase if I manually replace $groupid in the table
creation query to something like '100', it works fine.

Could someone please tell me how I can use a long type, such as a table ID
as the name of another table?

Thanks a lot,
Jonathan






Can anyone tell me of a good tutorial on configuring mysql on win98, or explain what 
steps should I take in order to make it work. I have downloaded win. version of 
mysql and installed it. How am I suposed to access mysql databases from php script, 
and is there any need to configure my server (xitami local webserver)?

Thanx
Nikola Veber 






Ok im making  grafiti board but i need to know a few things (you dont need to reply to 
this one)

a) how do i make php write to the top of a text document?
b) how do i make a table with a scroll bar in?
c) are you mad at me for doing this post?
d) does anyone know the code for changing the scroll bar colour?

Sorry that half of these aint PHP question, but remember you dont need to answer but 
any help would.... be...... helpful!



Thanks!
-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666






Hello to All,

 I have a problem. I had a multiple form .... the result is stored in a MySQ
L table.......
and i had no problem with this....

The result in form is stored like this :
 option1|option2|option3....etc
i used implode function.

But how to make in other way ! I mean to get result from Mysql and form to s
elect it

I use this .... and i have an array ... but what next ?
 $wyp = explode("|", $wyposazenie);



Thank you for your help.


Teqilaman -- [EMAIL PROTECTED]





hello!

>  option1|option2|option3....etc
> i used implode function.
> 
> But how to make in other way ! I mean to get result from Mysql and form to s
> elect it
> 
> I use this .... and i have an array ... but what next ?
>  $wyp = explode("|", $wyposazenie);
> 

I haven't used explode for a while, but I believe it creates an array?

you want to turn the array into an html select box?

that would be this...

<form>
<select>
<?
foreach($wyp as $wyp_value) {
  print <<<HTML
  <option value="$wyp_value">$wyp_value</option>
HTML;
}
?>
</select>
</form>

have fun! I hope I understood the question. =)

Cheers,

Bard


> 
> 
> Thank you for your help.
> 
> 
> Teqilaman -- [EMAIL PROTECTED]
> 
> 
> 

-- 
--
NOWPRINT. NOWPRINT. Clemclone, back to the shadows again.
- The Firesign Theater





Hi all,
is it possible to create a table that automatically
updates its contents every 30 seconds?

Thanks in advance,
Kostis Mentzelos.





"Kostis Mentzelos" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> is it possible to create a table that automatically
> updates its contents every 30 seconds?

I would use JavaScript to make the page reload itself.

Note: this could generate a LOT of traffic.






You could use cron...
----- Original Message ----- 
From: "Kostis Mentzelos" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 12:50 AM
Subject: [PHP] new to php


> Hi all,
> is it possible to create a table that automatically
> updates its contents every 30 seconds?
> 
> Thanks in advance,
> Kostis Mentzelos.
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 






> > is it possible to create a table that automatically
> > updates its contents every 30 seconds?
>
>I would use JavaScript to make the page reload itself.
>
>Note: this could generate a LOT of traffic.

Yeah.. just until someone has javascript disabled. A meta tag refresh would 
do a better job..

Bye,


B.






>You could use cron...

Perhaps you've got another version of cron then I've got.. mine doesn't do 
less then one minute..
Only solution if you want to use cron is to add something like sleep..
Have to warn you, your ISP is going to hate you for this.

If you want your visitor to see the new entries in the table then I think a 
meta refresh consumes less resources.

Even if you use cron your visitor doesn't get the updated info in his browser..

Bye,


B.



>----- Original Message -----
>From: "Kostis Mentzelos" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, September 10, 2001 12:50 AM
>Subject: [PHP] new to php
>
>
> > Hi all,
> > is it possible to create a table that automatically
> > updates its contents every 30 seconds?
> >
> > Thanks in advance,
> > Kostis Mentzelos.
> >





Ok, this isn't exactly PHP, more HTML, but I am not on any other mailing
lists that contain Web Developers, but what I am after is Designs/Layouts
for websites...So if anyone has some, or knows some good sites to get some..

BTW, I am after free ones, i don't want to have to pay for them..


      - James "ReDucTor" Mitchell






>Ok, this isn't exactly PHP, more HTML, but I am not on any other mailing
>lists that contain Web Developers, but what I am after is Designs/Layouts
>for websites...So if anyone has some, or knows some good sites to get some..

Ever considered using a search engine?

Just found www.freewebtemplates.com and a few others..

I don't want to flame you but you could have found this on your own.. 
within 15 seconds and without sending a messages.

Have fun,



B.






Ya, but FreeWebTemplates is down 4 coz of a hack, and all other ones it
leads to(except templates.ws), which is why i am after other ones....

     - James "ReDucTor" Mitchell


----- Original Message -----
From: "B. van Ouwerkerk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 1:16 AM
Subject: Re: [PHP] Site Layouts/Designs


>
> >Ok, this isn't exactly PHP, more HTML, but I am not on any other mailing
> >lists that contain Web Developers, but what I am after is Designs/Layouts
> >for websites...So if anyone has some, or knows some good sites to get
some..
>
> Ever considered using a search engine?
>
> Just found www.freewebtemplates.com and a few others..
>
> I don't want to flame you but you could have found this on your own..
> within 15 seconds and without sending a messages.
>
> Have fun,
>
>
>
> B.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>





I got a couple of URLs
http://www.uidesign.net/ Not sure whats there but I bookmarked it
http://www.guistuff.com/ This site is REALLY REALLY good... it contains lots
of free templates in many different formats to allow easy use

Hope these help
Andrew
----- Original Message -----
From: "ReDucTor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "B. van Ouwerkerk" <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 5:00 AM
Subject: Re: [PHP] Site Layouts/Designs


> Ya, but FreeWebTemplates is down 4 coz of a hack, and all other ones it
> leads to(except templates.ws), which is why i am after other ones....
>
>      - James "ReDucTor" Mitchell
>
>
> ----- Original Message -----
> From: "B. van Ouwerkerk" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, September 10, 2001 1:16 AM
> Subject: Re: [PHP] Site Layouts/Designs
>
>
> >
> > >Ok, this isn't exactly PHP, more HTML, but I am not on any other
mailing
> > >lists that contain Web Developers, but what I am after is
Designs/Layouts
> > >for websites...So if anyone has some, or knows some good sites to get
> some..
> >
> > Ever considered using a search engine?
> >
> > Just found www.freewebtemplates.com and a few others..
> >
> > I don't want to flame you but you could have found this on your own..
> > within 15 seconds and without sending a messages.
> >
> > Have fun,
> >
> >
> >
> > B.
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>





I was thinking, you know how they have those millionth customer things in shops, 
course ya do
Well, i have a simple counter on my site and i was wondering if i could do the same 
thing, like everytime you go on there if the counter is a multiple of 500 you get to 
have your site as a pop up for a week or so, well is this possible and if yes, can 
anybody give me some pointer?!!?


-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666







>like everytime you go on there if the counter is a multiple of 500 you get 
>to have your site as a pop up for a week or so, well is this possible and 
>if yes, can anybody give me some pointer?!!?

Use your own script and add more then one for each visit :-)

Uhm, your not going to ask money from people.. right??
/me don't like it when PPL are mislead and have to pay $$$$ for something 
with less value.. I don't mind if it's just for fun..

Don't think it's cool.. you're still giving people wrong information..

Perhaps you can work for M$ some day :-)
(ouch, that sounds like flamebait)

Bye,



B.





You could use something like this

<?php
$pageif = "ads.php";
$count = "500";
$countfile = file("counter.txt");
$count = $countfile[0];
$fp = fopen("counter.txt", "w");
fwrite($fp, $count);
fclose($fp);
$temp = $count / $count;
if(!is_float($temp))
echo "<script>window.open('".$pageif."');</script>\n"; // my js knowledge
sucks
?>
----- Original Message -----
From: "B. van Ouwerkerk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 1:54 AM
Subject: Re: [PHP] Just had a cool idea!


>
> >like everytime you go on there if the counter is a multiple of 500 you
get
> >to have your site as a pop up for a week or so, well is this possible and
> >if yes, can anybody give me some pointer?!!?
>
> Use your own script and add more then one for each visit :-)
>
> Uhm, your not going to ask money from people.. right??
> /me don't like it when PPL are mislead and have to pay $$$$ for something
> with less value.. I don't mind if it's just for fun..
>
> Don't think it's cool.. you're still giving people wrong information..
>
> Perhaps you can work for M$ some day :-)
> (ouch, that sounds like flamebait)
>
> Bye,
>
>
>
> B.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>





right... i didnt understand a word of that, anyway could you answer the
question please?

Be happy!

-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666


----- Original Message -----
From: "B. van Ouwerkerk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 09, 2001 8:54 AM
Subject: Re: [PHP] Just had a cool idea!


>
> >like everytime you go on there if the counter is a multiple of 500 you
get
> >to have your site as a pop up for a week or so, well is this possible and
> >if yes, can anybody give me some pointer?!!?
>
> Use your own script and add more then one for each visit :-)
>
> Uhm, your not going to ask money from people.. right??
> /me don't like it when PPL are mislead and have to pay $$$$ for something
> with less value.. I don't mind if it's just for fun..
>
> Don't think it's cool.. you're still giving people wrong information..
>
> Perhaps you can work for M$ some day :-)
> (ouch, that sounds like flamebait)
>
> Bye,
>
>
>
> B.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>




Hi,

I am using PHP script for a mailing list application. Is there a way to 
track the no of users opened the email. All the images in this html email 
are read from the server. In that manner can we call a script from the 
email that can be used to store the no of counts. If anybody has got any 
idea on the same please let me know.

Thanks & Regards

Sheni R Meledath
[EMAIL PROTECTED]





I have a website URL www.body-builders.org and users have URLs 
like www.body-builders.org/user According to the virtual hosting 
rules I can do any configuration tweaks by .htaccess file.

What I want to do is to offer my users URLs like users.body-
builders.org Is it possible to do with rewrite rules in .htaccess?

I tried this in my .htaccess but it doesnt help - 

RewriteEngine   on
RewriteCond     %{HTTP_HOST}    ^users\.body-builders\.org$
RewriteRule     ^.*$    http://www.body-
builders.org/users/indexr.php [L]

Youri

PS there are three lines in code.
<>< <>< <>< <>< God is our provider ><> ><> ><> ><> 
http://www.body-builders.org
New!!! - http://body-builders.org/index.php?links=1





Subdomains are first a DNS issue...  The first place you have to go is
your DNS config, since users.body-builders.org wouldn't exist without an
A or CNAME record.

I don't know if mod_rewrite can do anything about the subdomains like
that, if it can't, you will have to add VirtualHost directives to
httpd.conf for each subdomain.

--Matt


-----Original Message-----
From: BRACK [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, September 09, 2001 12:55 PM
To: [EMAIL PROTECTED]
Subject: [PHP] mod_rewrite


I have a website URL www.body-builders.org and users have URLs 
like www.body-builders.org/user According to the virtual hosting 
rules I can do any configuration tweaks by .htaccess file.

What I want to do is to offer my users URLs like users.body-
builders.org Is it possible to do with rewrite rules in .htaccess?

I tried this in my .htaccess but it doesnt help - 

RewriteEngine   on
RewriteCond     %{HTTP_HOST}    ^users\.body-builders\.org$
RewriteRule     ^.*$    http://www.body-
builders.org/users/indexr.php [L]

Youri

PS there are three lines in code.
<>< <>< <>< <>< God is our provider ><> ><> ><> ><> 
http://www.body-builders.org
New!!! - http://body-builders.org/index.php?links=1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] To
contact the list administrators, e-mail: [EMAIL PROTECTED]





> 
> Subdomains are first a DNS issue...  The first place you have to go is
> your DNS config, since users.body-builders.org wouldn't exist without
> an A or CNAME record.
My subdomains do not have DNSs =(( and I'm not sure if I can 
change this issue with .htaccess
> 
> I don't know if mod_rewrite can do anything about the subdomains like
> that, if it can't, you will have to add VirtualHost directives to
> httpd.conf for each subdomain.
But if I assign VirtualHost users.body-builders.org using DNS of 
www.body-builders.org (the onli one I have) all visitors will go to 
www.body-builders.org and not to users.body-builders.org?

Thank you,

Youri
<>< <>< <>< <>< God is our provider ><> ><> ><> ><> 
http://www.body-builders.org
New!!! - http://body-builders.org/index.php?links=1




How about http://wasarrested.com? IO don't know how they do it, but you
can enter whatever subdomain you want and it reflecst it on the weppage.
Example http://bill.clinton.wasarrested.com or youri.wasarrested.com.

Felix

-----Original Message-----
From: BRACK [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, September 09, 2001 2:43 PM
To: Matthew Loff
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] mod_rewrite


> 
> Subdomains are first a DNS issue...  The first place you have to go is

> your DNS config, since users.body-builders.org wouldn't exist without 
> an A or CNAME record.
My subdomains do not have DNSs =(( and I'm not sure if I can 
change this issue with .htaccess
> 
> I don't know if mod_rewrite can do anything about the subdomains like 
> that, if it can't, you will have to add VirtualHost directives to 
> httpd.conf for each subdomain.
But if I assign VirtualHost users.body-builders.org using DNS of 
www.body-builders.org (the onli one I have) all visitors will go to 
www.body-builders.org and not to users.body-builders.org?

Thank you,

Youri
<>< <>< <>< <>< God is our provider ><> ><> ><> ><> 
http://www.body-builders.org
New!!! - http://body-builders.org/index.php?links=1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] To
contact the list administrators, e-mail: [EMAIL PROTECTED]





Hewwo,

When selecting a value from a combobox, I always have a link that allows 
adding a record to the table the combobox pulls it's data from. Here is my 
problem:

Is it possible in any way to window.open() a popup window (JavaScript), fill 
in a record, add it to the database (PHP) and then reload the caller page so 
that the just added record appears in the combobox where the user can select 
it for completing the file? Or add it to the combobox manually with 
JavaScript to avoid a reload?

Alexander Deruwe.




So sprach »Fotwun« am 2001-09-06 um 16:16:25 -0700 :
> Hi,
> 
> I need to send a broadcast email to our customers (about 3,000 emails). The

Well, forget it.  Many major providers like Yahoo, AOL, Hotmail etc.pp.
have *VERY* SPAM strict filters in place.  Especially if you use Bcc:'s,
chances are high that a lot of your will bounce.

If you'll be doing something like this more often, it'll be a lot easier
and a lot more successful if you outsource this to specialized
companies.  They know how to circumvent this kind of trouble.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:       http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
                Uptime: 1 day 20 hours 20 minutes




Hi,

I am a newbie at this PHP thing and I have been working from information
on the web and from books.

I noticed that some start the PHP script with <? and some start with
<?php.  Actually I have noticed that one of the first PHP script in my
book uses both methods interchangeably.

Is there a real difference between the two?

Or maybe I just haven't noticed something.

Peter



Reply via email to