php-windows Digest 16 Jul 2002 07:03:22 -0000 Issue 1243
Topics (messages 14769 through 14779):
MSSQL and NT Authentification
14769 by: Gabor Niederlaender
14777 by: Christoph Grottolo
Re: Fopen errors out when opening a URL
14770 by: Brian Huff
Clear Form onLoad
14771 by: William Stickles
14772 by: William Stickles
14773 by: William Stickles
Re: PHP meetup [CROSS-POST] Meet other PHP Developers in Your Area
14774 by: Jay Blanchard
[PHP-DB] RE: PHP meetup [CROSS-POST] Meet other PHP Developers in Your Area
14775 by: Martin Clifford
Re: fputs - need help!!
14776 by: David Redmond
PHP Network functions
14778 by: Chris Knipe
Problem on file_exists()
14779 by: Jack
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]
----------------------------------------------------------------------
--- Begin Message ---
Hi all!
I went after my problem with the NT authentification and I found out,
that if you want to make a NT-based Authentification (f.ex for an
ODBC-Connection) the I_USR will be seen as the actual user...
I granted then rights to the I_USR in the DB, but this way, I cannot
distinguish which user is actually working in the DB.
IS there a way to use NT-Authentification in connection with php &
MSSQL ???
Please Help ,
Gabor
--- End Message ---
--- Begin Message ---
hi
> I went after my problem with the NT authentification and I found out,
> that if you want to make a NT-based Authentification (f.ex for an
> ODBC-Connection) the I_USR will be seen as the actual user...
>
> I granted then rights to the I_USR in the DB, but this way, I cannot
> distinguish which user is actually working in the DB.
>
> IS there a way to use NT-Authentification in connection with php &
> MSSQL ???
>
Yes, there is a way: you can disable anonymous access in IIS for the parts
of the website which need login.
Christoph
--- End Message ---
--- Begin Message ---
check out this ini value:
allow_url_fopen
its set to false for some versions of PHP.
another thing, do a sanity check to make sure it works at all... like this:
$fp = fopen ("c:\\temp\\test.txt", "r");
also note, you cant use include() or require() with remote files on windows.
also note, if this is a heavily trafficked site (like weather.com,
google, or Yahoo), the response might not be html, it might actually be
gzipped html, which fopen() isn't smart enough to handle. Do a test
with a known site.
last resort, make sure that the service you are running PHP as is a
service that has access to the network. For example, the default
install of Apache and IIS probably runs as the Local User, you might
need to run it as a domain user, such as yourself. You should be able
to change this in the services control panel... I dont know if this
matters at all, but you might as well try.
--
Brian 'Bex' Huff
[EMAIL PROTECTED]
Phone: 952-903-2023
Fax: 952-829-5424
> I am trying to do a simple fopen("http://www.weather.com/index.html", "r");
> For some reason I cannot Open any URL's after trying several.
>
> I get the following error
>
> Warning: stat failed for Resource id #1 (errno=2 - No such file or
> directory)
> I checked my php.ini to make sure I set the fopen wrappers and they are set.
>
> Any help would be appreciated.
--- End Message ---
--- Begin Message ---
Hello everyone.
I have been teaching myself PHP over the past few months. I have to say
that I am impressed with the learning curve for it. I do have a problem that
has popped up that maybe someone could help with. I have a javascript that
clears my forms using the onLoad command for my other sites. I recently
started a php site. however my script is not working. Is there a way to
make my script work with onLoad? If not is there a way to clear the form
when the page loads? I dont want people to be able to click the back button
and resubmit the same information a second time. Any help would be greatly
appreciated
Bill
--- End Message ---
--- Begin Message ---
The index page has an include for the footer...
"William Stickles" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello everyone.
> I have been teaching myself PHP over the past few months. I have to
say
> that I am impressed with the learning curve for it. I do have a problem
that
> has popped up that maybe someone could help with. I have a javascript that
> clears my forms using the onLoad command for my other sites. I recently
> started a php site. however my script is not working. Is there a way to
> make my script work with onLoad? If not is there a way to clear the form
> when the page loads? I dont want people to be able to click the back
button
> and resubmit the same information a second time. Any help would be greatly
> appreciated
>
> Bill
>
>
>
>
--- End Message ---
--- Begin Message ---
The index page has an include for the footer page...
<?
include("header.php");
?>
<body bgcolor="#FFF56C">
<table border="0" valign="top" align="left" cellspacing="0" cellpadding="0"
width="607" background="">
<tr>
<td width="20" valign="top" rowspan="3"> </td>
<td width="382" valign="top" height="212">
<div align="left"><font size="5" face="Arial, Helvetica,
sans-serif"><b><font face="Verdana, Arial, Helvetica, sans-serif"><br>
Virile V</font> </b></font><font face="Verdana, Arial, Helvetica,
sans-serif">lets
men and women in a loving relationship restore the bond of closeness
and
intimacy that sometimes gets lost when sex becomes infrequent or
unsatisfying.
Simply put, Virile V, can make your sex life <b>ELECTRIFYING!</b>
</font><br>
<br>
</div>
<div align="center"><i><font color="#FF0000"><b><font size="4">Be a
Super
Lover </font></b></font><font size="4"><b><font color="#FF0000"
size="5"><font size="4">AT
ANY AGE!</font></font></b></font></i></div>
</td>
<td width="42" valign="top"> </td>
<td width="163" valign="top"cellpadding="0" cellspacing="0"
align="left">
<div align="center"></div>
<div align="left"><font face="Verdana, Arial, Helvetica, sans-serif"
size="3"><i> "If
you're considering high priced
prescriptions...<br>
why not try my exclusive Virile V Formula. It's
safe...it's
effective and you can try it absolutely FREE!"
</i><font size="2"><i><b><font size="1">
<font size="2"> <font size="1">Dr.James
Hughes,M.D</font></font></font></b><font
size="1">.</font></i></font></font></div>
</td>
</tr>
<tr>
<td colspan="2" valign="top" height="57"><font face="Verdana, Arial,
Helvetica, sans-serif">Thousands
of men and women all across the country are experiencing the best time
of
their lives! See what you've been missing!</font></td>
<td rowspan="3" valign="middle">
<div align="center">
<p><img src="bottle.gif"></p>
</div>
</td>
</tr>
<tr>
<td height="88" colspan="2" valign="top">
<div align="center"><font color="#FF0000" size="4"><b><i><br>
Just two tablets one hour before lovemaking and...<br>
BINGO!<br>
</i></b></font></div>
</td>
</tr>
<tr>
<td height="146" colspan="3" valign="top">
<ul>
<li><font size="4">If your sex drive isn't what you'd like it to
be...</font></li>
<li><font size="4">If you're having trouble maintaining sexual
excitement...</font></li>
<li><font size="4">If you want to BOOST your Sex Drive like Crazy
and
feel like a teenager again...<br>
</font></li>
</ul>
<div align="center"><font size="4"> <font color="#FF0000"><b><a
href="#order">Order
your FREE 6 Pills Now</a></b></font></font> </div>
</td>
</tr>
</table>
<p><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</p>
<p> </p>
<p><br>
</p>
<p> </p>
<p> </p>
<p> </p>
<p>
</p>
<p>
</p>
<p> <a name="order"></a>
<?
include("pageBottom.php");
?>
</p>
<p> </p>
>From there the code is in for the onLoad command...
<script>
<!--
function KeyCheck(billingzip,e)
{
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
else return true;
if (((keycode>47) && (keycode<58) ) || (keycode==8)) { return true; }
else return false;
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var submitcount=0;
function checkFields() {
if (submitcount == 0)
{
submitcount++;
return true;
}
else
{
alert("This form has already been submitted. Thanks!");
return false;
}
}
// End -->
</script>
<body onload="document.my_form.reset()">
<script language="JavaScript">//clear form so people can't hit back button
and resubmit order
function clear() {
alert("Working!");
string="";
document.my_form.contactname.value=string;
document.my_form.contactemail.value=string;
document.my_form.phone1.value=string;
document.my_form.billfirstname.value=string;
document.my_form.billlastname.value=string;
document.my_form.billstreet1.value=string;
document.my_form.billcity.value=string;
document.my_form.billstate.value="ZZ";
document.my_form.billzip.value=string;
document.my_form.cardtype.value="VISA";
document.my_form.cardnumber.value=string;
document.my_form.cardexpmonth.value="00";
document.my_form.cardexpyear.value="00";
document.my_form.shipname.value=string;
document.my_form.shipstreet1.value=string;
document.my_form.shipcity.value=string;
document.my_form.shipstate.value=string;
document.my_form.shipzip.value=string;
}
</script>
<table width="625" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="2" width="88"></td>
<td width="339"></td>
<td width="195"></td>
<td width="3"></td>
</tr>
<tr>
<td height="1504" colspan="3" valign="top">
<table width="550" border="0">
<tr>
<td width="191" align="left" valign="top"> </td>
<td width="1"> </td>
<td rowspan="3" width="572"> <b>You A</b><b>re Ordering:</b><a
name="Order"></a><br>
<b> </b>
<table border=0 cellspacing=0 cellpadding=1 align="center">
<tr>
<td width=50 align=center><b>Qty</b></td>
<td width=200><b>Description</b></td>
<td width=75 align=right><b>Unit</b></td>
<td width=100 align=right><b> Amount</b></td>
</tr>
<tr>
<td colspan=4 align=center>
<hr>
</td>
</tr>
<tr>
<td align=middle>(1)</td>
<td>6 Pills Free Trial Offer</td>
<td align=right> </td>
<td align=right>Free</td>
</tr>
<tr>
<td colspan=5 align=center>
<hr width=50>
</td>
</tr>
<tr>
<td align=middle>(1)</td>
<td>Virile-V Membership</td>
<td align=right> </td>
<td align=right>$0.00</td>
</tr>
<tr>
<td colspan=5 align=center>
<hr width=50>
</td>
</tr>
<tr>
<td align=middle>(1)</td>
<td>Auto Ship Program</td>
<td align=right> </td>
<td align=right>$0.00</td>
</tr>
<tr>
<td colspan=4 align=center>
<hr>
</td>
</tr>
<tr>
<td colspan=3 align=right><b>Subtotal:</b></td>
<td align=right><b>$0.00</b></td>
</tr>
<tr>
<td colspan=3 align=right><b>Shipping & Handling:</b></td>
<td align=right><b>$1.00</b></td>
</tr>
<tr>
<td colspan=3 align=right><b>Total:</b></td>
<td align=right><b>$1.00</b></td>
</tr>
</table>
<b> </b>
<form method="POST" name="my_form"
action="https://www.metabiological.com/cgi-sys/cgiwrap/metabiol/metabio.cgi"
>
<input type="hidden" name="forcecookie"
value="basket=|VVftmvm6,1|VVftmvms,1|VVftmvas,1;">
<table border=0 width="583" cellpadding="0" cellspacing="0">
<tr>
<td width="13" height="670"></td>
<td valign="top" colspan=4 align=center><font
size="2">Please
provide us with the following information so we may
process
your order promptly. If any items are missing, we may
not
be able to process your order. Most importantly, please
ensure
your email address is correct, as this is how we will
notify
you if any problems occur while processing your
order.</font>
<p><font size="2">When you have finished, please click
the
'Submit Order' button to continue submitting your
order.</font>
<hr>
<table width="523" border="0" height="132">
<tr>
<td colspan="3">
<div align="center"><strong><em>Contact
Information</em></strong><font size=2><i><br>
Please ensure this information is correct. <br>
We have no other method of notifying you in case
of
order problems.</i></font></div>
</td>
</tr>
<tr>
<td width="168"><font size="2">Contact
Name</font></td>
<td width="151"> </td>
<td width="190"> </td>
</tr>
<tr>
<td colspan="2" height="5">
<input name="contactname" size=40>
</td>
<td width="190" height="5"> </td>
</tr>
<tr>
<td width="168" height="2"><font
size="2">Email</font></td>
<td width="151" height="2"><font
size="2">Telephone</font></td>
<td width="190" height="2"> </td>
</tr>
<tr>
<td width="168" height="2">
<input name="contactemail" size=30>
</td>
<td width="151" height="2">
<input name="phone1" size=25>
</td>
<td width="190" height="2"> </td>
</tr>
</table>
<hr>
<strong><em>Billing Information</em></strong><br>
<i>Your billing name and address must match the name and
address
on your credit card statement to process your
order.</i><font size="4"><br>
</font>
<table width="519" border="0">
<tr>
<td width="233"><font size="2">First Name on
Card</font></td>
<td width="186"><font size="2">Last Name on
Card</font></td>
<td width="86"> </td>
</tr>
<tr>
<td width="233">
<input name="billfirstname" size=35>
</td>
<td width="186">
<input name="billlastname" size=30>
</td>
<td width="86"> </td>
</tr>
<tr>
<td width="233"><font size="2">Street Address on
Card
Statement:</font> </td>
<td width="186"> </td>
<td width="86"> </td>
</tr>
<tr>
<td height="9" width="233">
<input name="billstreet1" size=35>
</td>
<td height="9" width="186"> </td>
<td height="9" width="86"> </td>
</tr>
<tr>
<td width="233" height="2"><font
size="2">City:</font></td>
<td width="186" height="2"><font
size="2">State</font></td>
<td width="86" height="2"><font size="2">Zip
Code:</font></td>
</tr>
<tr>
<td width="233">
<input name="billcity" size=25>
</td>
<td width="186">
<select name="billstate">
<option value=ZZ selected>Select State</option>
<option value="AL">Alabama (US)</option>
<option value="AK">Alaska (US)</option>
<option value="AZ">Arizona (US)</option>
<option value="AR">Arkansas (US)</option>
<option value="CA">California (US)</option>
<option value="CO">Colorado (US)</option>
<option value="CT">Connecticut (US)</option>
<option value="DE">Delaware (US)</option>
<option value="DC">District of Columbia
(US)</option>
<option value="FL">Florida (US)</option>
<option value="GA">Georgia (US)</option>
<option value="HI">Hawaii (US)</option>
<option value="ID">Idaho (US)</option>
<option value="IL">Illinois (US)</option>
<option value="IN">Indiana (US)</option>
<option value="IA">Iowa (US)</option>
<option value="KS">Kansas (US)</option>
<option value="KY">Kentucky (US)</option>
<option value="LA">Louisiana (US)</option>
<option value="ME">Maine (US)</option>
<option value="MD">Maryland (US)</option>
<option value="MA">Massachusetts (US)</option>
<option value="MI">Michigan (US)</option>
<option value="MN">Minnesota (US)</option>
<option value="MS">Mississippi (US)</option>
<option value="MO">Missouri (US)</option>
<option value="MT">Montana (US)</option>
<option value="NE">Nebraska (US)</option>
<option value="NV">Nevada (US)</option>
<option value="NH">New Hampshire (US)</option>
<option value="NJ">New Jersey (US)</option>
<option value="NM">New Mexico (US)</option>
<option value="NY">New York (US)</option>
<option value="NC">North Carolina (US)</option>
<option value="ND">North Dakota (US)</option>
<option value="OH">Ohio (US)</option>
<option value="OK">Oklahoma (US)</option>
<option value="OR">Oregon (US)</option>
<option value="PA">Pennsylvania (US)</option>
<option value="RI">Rhode Island (US)</option>
<option value="SC">South Carolina (US)</option>
<option value="SD">South Dakota (US)</option>
<option value="TN">Tennessee (US)</option>
<option value="TX">Texas (US)</option>
<option value="UT">Utah (US)</option>
<option value="VT">Vermont (US)</option>
<option value="VA">Virginia (US)</option>
<option value="WA">Washington (US)</option>
<option value="WV">West Virginia (US)</option>
<option value="WI">Wisconsin (US)</option>
<option value="WY">Wyoming (US)</option>
</select>
</td>
<td width="86">
<input name="billzip" size=10 value=""
onKeyPress="return KeyCheck(this,event);">
</td>
</tr>
<tr>
<td width="233">
<input type=hidden name="billcountry" value="~us">
<input type="hidden" name="shipmethod" value="0">
<input type="hidden" name="billmethod" value="0">
</td>
<td width="186"> </td>
<td width="86"> </td>
</tr>
</table>
<hr>
<table border="0" dwcopytype="CopyTableRow" width="519">
<tr>
<td colspan="2" align="center"><strong><em>Credit
Card
Information</em></strong></td>
</tr>
<tr>
<td><font size="2">(Credit Card) Type of Credit
Card</font></td>
<td>
<select name="cardtype" size="1">
<option selected>Visa </option>
<option>Mastercard </option>
<option value="AMEX">American Express </option>
<option>Discover </option>
</select>
</td>
</tr>
<tr>
<td><font size="2">(Credit Card) Credit Card
Number</font></td>
<td>
<input name="cardnumber" size="25">
</td>
</tr>
<tr>
<td><font size="2">(Credit Card) Expiration Date
</font></td>
<td>
<select name=cardexpmonth>
<option value="00">Month
<option value="01">Jan
<option value="02">Feb
<option value="03">Mar
<option value="04">Apr
<option value="05">May
<option value="06">Jun
<option value="07">Jul
<option value="08">Aug
<option value="09">Sep
<option value="10">Oct
<option value="11">Nov
<option value="12">Dec
</select>
<select name=cardexpyear>
<option value="00">Year
<option value="02">2002
<option value="03">2003
<option value="04">2004
<option value="05">2005
<option value="06">2006
<option value="07">2007
<option value="08">2008
<option value="09">2009
</select>
</td>
</tr>
</table>
</td>
<td width="47"></td>
</tr>
<tr>
<td height="336"></td>
<td valign="top" colspan=3 align=center>
<hr>
<strong><em>Shipping Information</em></strong> <br>
<input type=checkbox name="shiptobilladdr" value="yes">
Please ship this order to the billing address.
<table width="520">
<tr>
<td colspan=3 align=center height="21"><b>Or ship
to:</b></td>
</tr>
<tr>
<td width="230" height="21"><font
size="2">Name:</font></td>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="3" height="30">
<input name="shipname" size=40>
</td>
</tr>
<tr>
<td height="21"><font size="2">Street
Address:</font></td>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="3" height="30">
<input name="shipstreet1" size=40>
</td>
</tr>
<tr>
<td height="17"><font size="2">City:</font></td>
<td width="197"><font size="2">State:</font> </td>
<td width="71"><font size="2">Zip Code:</font></td>
</tr>
<tr>
<td height="30">
<input name="shipcity" size=25>
</td>
<td>
<select name="shipstate">
<option value="" selected>Select State</option>
<option value="AL">Alabama (US)</option>
<option value="AK">Alaska (US)</option>
<option value="AZ">Arizona (US)</option>
<option value="AR">Arkansas (US)</option>
<option value="CA">California (US)</option>
<option value="CO">Colorado (US)</option>
<option value="CT">Connecticut (US)</option>
<option value="DE">Delaware (US)</option>
<option value="DC">District of Columbia
(US)</option>
<option value="FL">Florida (US)</option>
<option value="GA">Georgia (US)</option>
<option value="HI">Hawaii (US)</option>
<option value="ID">Idaho (US)</option>
<option value="IL">Illinois (US)</option>
<option value="IN">Indiana (US)</option>
<option value="IA">Iowa (US)</option>
<option value="KS">Kansas (US)</option>
<option value="KY">Kentucky (US)</option>
<option value="LA">Louisiana (US)</option>
<option value="ME">Maine (US)</option>
<option value="MD">Maryland (US)</option>
<option value="MA">Massachusetts (US)</option>
<option value="MI">Michigan (US)</option>
<option value="MN">Minnesota (US)</option>
<option value="MS">Mississippi (US)</option>
<option value="MO">Missouri (US)</option>
<option value="MT">Montana (US)</option>
<option value="NE">Nebraska (US)</option>
<option value="NV">Nevada (US)</option>
<option value="NH">New Hampshire (US)</option>
<option value="NJ">New Jersey (US)</option>
<option value="NM">New Mexico (US)</option>
<option value="NY">New York (US)</option>
<option value="NC">North Carolina (US)</option>
<option value="ND">North Dakota (US)</option>
<option value="OH">Ohio (US)</option>
<option value="OK">Oklahoma (US)</option>
<option value="OR">Oregon (US)</option>
<option value="PA">Pennsylvania (US)</option>
<option value="RI">Rhode Island (US)</option>
<option value="SC">South Carolina (US)</option>
<option value="SD">South Dakota (US)</option>
<option value="TN">Tennessee (US)</option>
<option value="TX">Texas (US)</option>
<option value="UT">Utah (US)</option>
<option value="VT">Vermont (US)</option>
<option value="VA">Virginia (US)</option>
<option value="WA">Washington (US)</option>
<option value="WV">West Virginia (US)</option>
<option value="WI">Wisconsin (US)</option>
<option value="WY">Wyoming (US)</option>
</select>
</td>
<td>
<input name="shipzip" size=10 onKeyPress="return
KeyCheck(this,event);" >
</td>
</tr>
<tr>
<td colspan=3 height="42" valign="top" align=center>
<input type="hidden" name="shipcountry"
value="~us">
<br>
<hr>
</td>
</tr>
</table>
<p> </p>
</td>
<td width="3"></td>
<td></td>
</tr>
<tr>
<td height="57"></td>
<td width="233"></td>
<td width="91" valign="top" align=center>
<table border=0>
<tr>
<td colspan=3 align=top>
<input onclick="checkFields()" type="image"
border=0 src="/images/pdg2k2_submit.gif" name="buyit">
</td>
<td align=bottom><a
onClick="document.my_form.reset();return false;"
href="Index.htm#"><img alt="Clear" border=0
src="/images/pdg2k2_clear.gif"></a>
</td>
<td width="1"></td>
</tr>
</table>
</td>
<td width="196"></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="139"></td>
<td colspan=3 valign="top" align=center>
<blockquote>
<div align="left"><font
size="2"><b>Congratulations!</b>
By submitting this form you will receive your
<b><font color="#FF0000">FREE</font></b>
6-Pill supply of the Virile V supplement…
<b>all
for just $1.00</b>! You'll also be enrolled in our
auto-ship
program at no additional cost! Fourteen days
after
the mailing of your free trial, you will be
conveniently
shipped the entire Virile V system for the special
discounted
price of just $89.95 plus $9.95 shipping and
handling.
That gives you plenty of time to decide if Virile V
is
right for you. If not, simply call toll-free anytime
to
cancel the monthly auto-ship, but<b><font
color="#0000FF">
keep the free 6-Pills as our gift to
you!</font></b></font></div>
</blockquote>
</td>
<td></td>
<td></td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td width="191" align="left" valign="top"> </td>
<td width="1"> </td>
</tr>
<tr>
<td width="191" align="left" valign="top" height="814"> </td>
<td width="1" height="814"> </td>
</tr>
</table>
</td>
<td></td>
</tr>
<tr>
<td height="38"></td>
<td valign="top">
<div align="center">
<p><?
include("footer.php");
?>
</div>
</td>
<td></td>
<td></td>
</tr>
</table>
I have also tried to do it from the index onLoad command and couldnt get it
to work
--- End Message ---
--- Begin Message ---
[snip]
No, it's not a dating service.... :)
Want to meet other PHP developers in your area? Check out:
http://php.meetup.com/
Pretty nifty idea... especially given the lack of user groups in the U.S.
I thought for others who had not seen this I would post this. There is
probably already a user group in your area if you live near a major city.
According to the PHPusergroups.org web site
[http://www.phpusergroups.org/groups.phtml?menu=groups] there 189 PHP user
groups in 52 countries.
[/snip]
I have seen some users groups mentioned, which is outstanding. PHP Meetup is
gaining lots of ground with 105 members at last check. Top 5 cities are...
Manhattan (below 42nd St) (5 members)
London, England (4 members)
Ann Arbor, MI (3 members)
Melbourne (3 members)
Washington DC (3 members) [actually tied with Philadelphia, PA and Orange
County, CA]
And I finally saw another San Antonio member. Just want to keep this fresh
in everyone's mind. If you know of other developer lists where php is
discussed please forward this along.
Thanks!
Jay
"Do not meddle in the affairs of dragons-for you are crunchy and good with
ketchup"
--- End Message ---
--- Begin Message ---
Yes, everyone please join up! I would love to find more developers in the Maryland
area, and I'm sure others would in their areas as well! Let's do the great american
get togeth... err... the great php get together!
Martin Clifford
Homepage: http://www.completesource.net
Developer's Forums: http://www.completesource.net/forums/
>>> "Jay Blanchard" <[EMAIL PROTECTED]> 07/15/02 03:20PM >>>
[snip]
No, it's not a dating service.... :)
Want to meet other PHP developers in your area? Check out:
http://php.meetup.com/
Pretty nifty idea... especially given the lack of user groups in the U.S.
I thought for others who had not seen this I would post this. There is
probably already a user group in your area if you live near a major city.
According to the PHPusergroups.org web site
[http://www.phpusergroups.org/groups.phtml?menu=groups] there 189 PHP user
groups in 52 countries.
[/snip]
I have seen some users groups mentioned, which is outstanding. PHP Meetup is
gaining lots of ground with 105 members at last check. Top 5 cities are...
Manhattan (below 42nd St) (5 members)
London, England (4 members)
Ann Arbor, MI (3 members)
Melbourne (3 members)
Washington DC (3 members) [actually tied with Philadelphia, PA and Orange
County, CA]
And I finally saw another San Antonio member. Just want to keep this fresh
in everyone's mind. If you know of other developer lists where php is
discussed please forward this along.
Thanks!
Jay
"Do not meddle in the affairs of dragons-for you are crunchy and good with
ketchup"
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Try adding in a '\r' as well. This stands for a carriage return and '\n'
means a line feed. The '\r' is necessary if your viewing the log file with
something like notepad, etc.
eg;
fputs ($sysname_log, $time - SystemName: $sysname\r\n");
Cheers
-----Original Message-----
From: MAAS [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 16 July 2002 12:22 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] fputs - need help!!
Hi
I use this line
fputs ($sysname_log, "$time - SystemName: $sysname\n");
I would like to get a log file, and everytime I refresh this page it will
make a new line and write
$the local time - SystemName: $sysname
So after a while it will look like this
$the local time - SystemName: $sysname
$the local time - SystemName: $sysname
$the local time - SystemName: $sysname
BUT, this is not working, I donīt get a new line, everything is on the same
line. Why??
I use WIN2K and IIS.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Lo all,
What extensions needs to be enabled to be able to use PHP's network functions in
Windows?
I'm specifically after the DNS related functions (getmxrr, gethostbyname &
fsockopen)...
Thank you kindly.
--
me
--- End Message ---
--- Begin Message ---
Dear all
I had a folder which the path is : (\\nedcoraa\pdf_reports\dealing
room\report) it stores a lot of PDF reports in there.
I'm trying to use the file_exists() function to detect if a specific file
exist in this folder, but i got a problem is :
It seems that php can go through (\\nedcoraa\pdf_reports) but it can't go
through (dealing room) folder. i had made test on it, i moved a file into
(\\nedcoraa\pdf_reports), then php can detect it, but if i move it to
(\\nedcoraa\pdf_reports\dealing room), then it can't detect the file! why?
I'm using php in windows NT IIS environment!
Please help me!
--
Thx a lot!
Jack
[EMAIL PROTECTED]
--- End Message ---