<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>WebForumz.com - PHP</title>
		<link>http://webforumz.com</link>
		<description>Help forum offering PHP advice, troubleshooting and coding practices.</description>
		<language>en</language>
		<lastBuildDate>Fri, 20 Nov 2009 22:19:39 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://webforumz.com/wfHeiss/misc/rss.jpg</url>
			<title>WebForumz.com - PHP</title>
			<link>http://webforumz.com</link>
		</image>
		<item>
			<title>Multithreaded Socket Programming</title>
			<link>http://webforumz.com/php/75691-multithreaded-socket-programming.htm</link>
			<pubDate>Fri, 20 Nov 2009 11:25:11 GMT</pubDate>
			<description>Hi, 
 
I have a requirement  as mentioned below , i like  to  know about the possibilty of it and if possible how could i do that 
 
my requirement is that 
 
I have a server A,B and server E 
server...</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hi,<br />
<br />
I have a requirement  as mentioned below , i like  to  know about the possibilty of it and if possible how could i do that<br />
<br />
my requirement is that<br />
<br />
I have a server A,B and server E<br />
server A sends a request to a particular port(ex 55555) of server E but when i try to  access same port  of E from B  i couldn't connect that port as A is connected with it,<br />
<br />
I want like this as when A and B tries to connect same port of  E, it should multithread the request and give response for corresponding connection , how can i do this</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://webforumz.com/php/">PHP</category>
			<dc:creator>tomalex0</dc:creator>
			<guid isPermaLink="true">http://webforumz.com/php/75691-multithreaded-socket-programming.htm</guid>
		</item>
		<item>
			<title>Need Help with member Pages</title>
			<link>http://webforumz.com/php/75688-need-help-with-member-pages.htm</link>
			<pubDate>Thu, 19 Nov 2009 21:32:19 GMT</pubDate>
			<description>I am currently trying to write members only content pages. I am having two problems. The first is that when i use MD5 encryption, it encrypts, but when I try to login using MD5 decoding, it says the...</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>I am currently trying to write members only content pages. I am having two problems. The first is that when i use MD5 encryption, it encrypts, but when I try to login using MD5 decoding, it says the password is invalid. The script is as follows...<br />
 <br />
To encrypt before insertion into the database:<br />
// here we encrypt the password and add slashes if needed<br />
//$_POST['pass'] = md5($_POST['pass']);<br />
//if (!get_magic_quotes_gpc()) {<br />
//$_POST['pass'] = addslashes($_POST['pass']);<br />
//$_POST['username'] = addslashes($_POST['username']);<br />
<br />
To Decrypt from database:<br />
while($info = mysql_fetch_array( $check )) <br />
{<br />
//$_POST['pass'] = stripslashes($_POST['pass']);<br />
//$info['password'] = stripslashes($info['password']);<br />
//$_POST['pass'] = md5($_POST['pass']);<br />
<br />
//gives error if the password is wrong<br />
if ($_POST['pass'] != $info['password']) {<br />
die('Incorrect password, please try again.');<br />
}<br />
<br />
I keep getting the incorect password message, until i null out all those scripts.<br />
<br />
Secondly, When everything is working, i am not sure how to make the members only content pages. I have wondered whether <acronym title="Hypertext Preprocessor">PHP</acronym> pages with standard text would work, but I dont know how to insert the authentication handling. Or would <acronym title="HyperText Markup Language">HTML</acronym> pages work? I am building a very basic site, but I cannot get the redirect to work. B<br />
<br />
So in a nutshell, I would like to restrict access to all pages of my site except index.<acronym title="Hypertext Preprocessor">php</acronym>, unless the user is logged in. I have all the scripts to database the registration info, login, logout, etc. but do not know how to link all of this to every page in the site.<br />
<br />
Thank you</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://webforumz.com/php/">PHP</category>
			<dc:creator>siconic</dc:creator>
			<guid isPermaLink="true">http://webforumz.com/php/75688-need-help-with-member-pages.htm</guid>
		</item>
		<item>
			<title>Fresh Cheap Cvv/dumps/full Info - Verified Seller</title>
			<link>http://webforumz.com/php/75682-fresh-cheap-cvv-dumps-full-info.htm</link>
			<pubDate>Thu, 19 Nov 2009 13:59:00 GMT</pubDate>
			<description><![CDATA[Fresh Cheap Cvv/dumps/full Info - Verified Seller 
 
Hello I'm TexacoJim and I offer stuff for serious carders. 
 
If you need CVV or Dumps (track1/track2 original), or something else I will be glad...]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div><font size="2">Fresh Cheap Cvv/dumps/full Info - Verified Seller<br />
<br />
Hello I'm TexacoJim and I offer stuff for serious carders.<br />
<br />
If you need CVV or Dumps (track1/track2 original), or something else I will be glad to help you.<br />
Always in stock Us , EU , UK , CN database of dumps, COB's, Full Info, CVV's...<br />
<br />
DUMPS - include original track1/track2, also have some dumps with card holder info (ZIP , SSN , MMN , CVV2)<br />
CVVs - include CC#, CVV2, EXP.DATE, full name, full address.<br />
<br />
My service is well-known, and verified at carding forums. I am a verified seller at these sites:<br />
Netcarding.ru<br />
OffCarding<br />
DarkNet<br />
CardingWorld<br />
<br />
<br />
<br />
500 USA Visa platinum/gold - $5000<br />
1000 USA Visa platinum/gold - $8000<br />
Price for CVV:<br />
UK CVV without BINS and DOB is $4 each<br />
UK CVV with BINS(Serial) is $10 each<br />
UK Swich CVV is $8 each<br />
UK Amex CVV is $10 each<br />
US CVV(Visa) is $2 each<br />
US CVV(Master) is $2 each<br />
US CVV(Amex) is $3 each<br />
AU CVV is $8 each<br />
EU CVV is $5 each<br />
Track 1&amp; 2 CC is 50$<br />
Fresh Fullz is 20$<br />
Dead Fullz is 15$<br />
Eu is 15$<br />
Minimum order : $50<br />
DUMPS USA - $50 each (have AMEX, VISA classic/gold/business/platinum/corporate/signature, MC, Discover)<br />
DUMPS UK - $70 each<br />
DUMPS EU - $140 each<br />
Price for Full Infos:<br />
Country:Europe<br />
Visa Classic 80$<br />
Visa Gold , Platinum , Business , Signature 120$<br />
Visa Gold , Platinum , Business , Signature (Swiss, Spain, France, Italy, Turkey)150$<br />
master card Europe 80$<br />
Country:USA<br />
Visa Classic 25$<br />
Visa Gold , Platinum , Business , Signature 40$<br />
Discover , American Express, JCB 40$<br />
Country:Canada<br />
Visa Classic 30$<br />
Visa Gold , Platinum , Business , Business , Signature 50$<br />
master card Canada 40$<br />
Other: Australia, Japan, Brazil ...etc<br />
Visa Classic 70$<br />
Visa Gold , Platinum , Business , Business , Signature 90$<br />
master card 70$<br />
Minimum order : $100<br />
PayPal Logins<br />
PayPal logins (Unverified) | Price : $30<br />
PayPal logins (Verified) | Price : $50<br />
Minimum buy : $100<br />
<br />
Bank logins<br />
European bank logins from all countries in Europe | Price : $300<br />
USA bank logins | Price : $200<br />
Canada bank logins| Price : $200<br />
others bank logins price is 300$<br />
<br />
Contact us to see if we got Bank logins from your country.)<br />
Minimum buy : $200<br />
<br />
bellow are my condition Conditions of sale :<br />
<br />
1. Stuff will be sent to you within 1 or 2 hours after receiving the payment. Order will be sent via e-mail or as you wish. You can also receive a link to download the info)<br />
2. No test/demo, I ask you make small test order of 100 or$50 minimum<br />
3. I have a replacement policy for bad dumps/Cvv. (All dumps/Cvv are fresh and already checked before dispatch)<br />
4. Have system of good discounts for constant buyers - Special offers:<br />
waiting to read from you<br />
5. I accept WESTERN UNION AND MONEY GRAM OR LR (WU and MG OR LR) ONLY<br />
<br />
BE VERY CAREFUL WHEN DEALING WITH SOMEONE DON'T LOOSE YOUR MONEY TO ****ING RIPPERS<br />
AND I HOPE TO GIVE YOU THE BEST STUFFS YOU WILL LOVE AND DON'T FORGET WE NEED MORE CUSTOMER TO GIVE US MORE MONEY HERE....<br />
YOU CAN VISIT MY FORUM FOR MORE INFORMATION ABOUT ME AND CHAT WITH ME ON YAHOO MESSANGER ONLY .<br />
PM me<br />
YM&gt; keyo_cvv1985<br />
email&gt; <a href="mailto:keyo_cvv1985@yahoo.com">keyo_cvv1985@yahoo.com</a><br />
telephone number +23779362726 keyo is online now Add to keyo Reputation Send a pager message to Blaise Edit/Delete Message<br />
<br />
</font></div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://webforumz.com/php/">PHP</category>
			<dc:creator>keyo1985</dc:creator>
			<guid isPermaLink="true">http://webforumz.com/php/75682-fresh-cheap-cvv-dumps-full-info.htm</guid>
		</item>
		<item>
			<title>Cvv,Fullz,Dumps+Pin,Track1/2+Pin,Bank Logins,Bank Transfers,Wu Transfers,Etc</title>
			<link>http://webforumz.com/php/75661-cvv-fullz-dumps-pin-track1-2-a.htm</link>
			<pubDate>Wed, 18 Nov 2009 11:18:18 GMT</pubDate>
			<description>PRICELIST OF STUFFS 
Logins 
Halifax,Hsbc,Wells,Rbc,Wamu,Boa,Barclays,Citi Etc 
 
1 US CVV  = 3$ 
1 UK CVV  = 5$ 
1 EU CVV  = 8$ 
FULL CC with mmn,ssn,dob,pin  = pm me for price 
PHP Mailers inbox  =...</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>PRICELIST OF STUFFS<br />
Logins<br />
Halifax,Hsbc,Wells,Rbc,Wamu,Boa,Barclays,Citi Etc<br />
<br />
1 US CVV  = 3$<br />
1 UK CVV  = 5$<br />
1 EU CVV  = 8$<br />
FULL CC with mmn,ssn,dob,pin  = pm me for price<br />
<acronym title="Hypertext Preprocessor">PHP</acronym> Mailers inbox  = 20$<br />
Webmailer  = 25$<br />
<br />
US Dumps:<br />
US Mix (20Gold/20Plats/20Biz&amp;Corp/40MCstandard&amp;Classic)<br />
bin of my choice = 20$<br />
US Classic  = 40$<br />
US Debit Classic  40$<br />
US MC Standard  = 50$<br />
US Gold   = 70$<br />
US Platinum  = 120$<br />
US Business/Corporate = 120$<br />
US Purchasing/Signature  = 150$<br />
US MC World = 120$<br />
<br />
Canada Dumps:<br />
Canada Classic  = 50$<br />
Canada MC Standard = 60$ <br />
Canada Gold  = 120$<br />
Canada Platinum = 150$<br />
Canada MC World = 120$<br />
<br />
Europe Dumps:<br />
EU Classic  = 50$<br />
EU MC Standard  = 60$<br />
EU Gold = 120$<br />
EU Platinum = 150$<br />
EU Business/Corporate = 150$<br />
EU Infinite = 200$<br />
<br />
<br />
Asia Classic = 50$<br />
Asia MC Standard  = 60$<br />
Asia Gold  = 120$<br />
Asia Platinum/Business/Corporate = 150$<br />
 <br />
Weeds also Available <br />
 <br />
SSN : SOCIAL SECURITY NUMBER<br />
DOB : DATE OF BIRTH<br />
DL : DRIVING LINCENSE<br />
MMN : MOTHER MAIDEN NAME<br />
<br />
CONTACT INFORMATION<br />
<br />
CONTACT US IF YOU DONT UNDERSTAND ANYTHING ABOUT THIS STUFFS AND ALSO IF YOU WANT TO BUY MORE YOU CAN CALL THE NUMBER BELOW OR EMAIL ME ..<br />
<br />
VALID AND FRESH INFO FOR SELLER PM ME<br />
WE MAKE SURE YOU ARE SATISFIED WITH WHATEVER YOU ARE BUYING AND YOU GET IMMIDIATE DELIVERY OF STUFFS AFTER PAYMENT.........WE DONT GIVE DEMO NOR SAMPLES NOR TEST ..... EVERY STUFFS 100% FRESH AND LIVE.<br />
<br />
<br />
YIM : <a href="mailto:Hack_lu@yahoo.com">Hack_lu@yahoo.com</a>    <br />
ICQ : 593014951<br />
Phone: +233279430660<br />
<br />
For bulk purchases email me at <a href="mailto:Hack_lu@yahoo.com">Hack_lu@yahoo.com</a>.<br />
<br />
Copyright ©2009</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://webforumz.com/php/">PHP</category>
			<dc:creator>CVV DUMPS</dc:creator>
			<guid isPermaLink="true">http://webforumz.com/php/75661-cvv-fullz-dumps-pin-track1-2-a.htm</guid>
		</item>
		<item>
			<title>selling cvv fullz track 1 and 2 bank login bank transfer wu bug wu transfer writing c</title>
			<link>http://webforumz.com/php/75657-selling-cvv-fullz-track-1-and.htm</link>
			<pubDate>Wed, 18 Nov 2009 10:39:49 GMT</pubDate>
			<description>selling cvv fullz track 1 and 2 bank login bank transfer wu bug wu transfer writing checks transfer to cc ... 
Fresh Cards. Selling Dumps, Cvvs, Fullz. 
Hello. We selling fresh dumps with original...</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>selling cvv fullz track 1 and 2 bank login bank transfer wu bug wu transfer writing checks transfer to cc ...<br />
Fresh Cards. Selling Dumps, Cvvs, Fullz.<br />
Hello. We selling fresh dumps with original Track1 and Track2.<br />
There are normal cc`s with cvv code,USA fullz,UK+DOB.<br />
All stuff is checked and approved.<br />
ONLY ORIGINAL INFO!<br />
We have approved fresh dumps from USA, large bases.<br />
Visa Classic, MC Standart -$20. Visa Gold, Platinum, Business, Signature -$30.<br />
For orders other 100 pcs:<br />
Visa Classic, MC Standart -$10. Visa Gold, Platinum, Business, Signature -$20.<br />
We have EU dumps also.<br />
Visa Classic, MC Standart -$80. Visa Gold, Platinum, Business, Signature -$100.<br />
Formate is:<br />
5401683030957507=0909101200002 94 ;<br />
B5401683030957507^DAVIES/TOKUB O ^09091012000000294000000<br />
5178950005020616=1109101008479 1600000 517895;FIFTH THIRD PROCESSING SOLUTIONS, INC;United States of America;;GOLD;;OHIO;CINCINNATI<br />
<br />
Prices for normal CC is so:<br />
USA -$5.<br />
UK -$7.<br />
Others -$10.<br />
Formate is:<br />
Card Number | Exp. Date | CVV/CVV2 | First Name | Last Name | Street | City | State | Zip Code | Country | Phone | Type Of Card | Bank Name |<br />
<br />
cc checker: [Only registered and activated users can see links. ] p?p=check<br />
If you r interested in Fullz:<br />
USA -$20.<br />
UK(cvv+dob)-$30<br />
.<br />
We accept WU,libertyreserve only.<br />
We sell information only good quality, We don't offer bull**** stuff. Less price have ededededededs only.<br />
Be patient ih have any delays. We do all so fast how we can. we thank for your understanding.<br />
Service takes care of valid only, not their balance.<br />
It's available to sort cvvs by Classic/Gold/Platinum types, not giving any warranty of high<br />
amount balance.<br />
Service can deny to process Ur requerst witout explanation of reasons.<br />
<br />
1 COMERSUS SOFTWARE WITH BANK LOG IN AND BANK CREDIT CARD CODE ==========<br />
2 COMERSUS SOFTWARE WITHOUT BANK LOG IN AND BANK CREDIT CARD CODE ==========<br />
3 NEW WESTERN UNION HACKING BUG FOR WORLD WIDE TRANSFER ==========<br />
4 NEW PAYPAL LOG IN HACKWARE FOR HACKING FRESH PAYPAL ==========<br />
5 NEW SHOP ADMIN HACKWARE FOR HACKING ONLINE SHOP FOR CREDIT CARD==========<br />
6 NEW CREDIT CARD AMOUNT CHECKER FOR PEOPLE WANTING TO KNOW AMOUNT ON CC===<br />
7 NEW CREDIT CARD VALIDATOR FOR VALIDATING ANY FULL CC INFO ==========<br />
OTHER SERVICE INCLUDE..........<br />
BANK TO BANK TRANSFER TO ANY USA BANK<br />
BANK TO BANK TRANSFER TO ANY UK BANK<br />
BANK TO BANK TRANSFER TO ANY EURO COUNTRY BANK<br />
AMOUNT TO PAY FOR THAT DEPEND ON AMOUNT YOU WANT TO TRANSFER<br />
yahoo messager <a href="mailto:ichack@yahoo.com">ichack@yahoo.com</a><br />
ICQ : 462659312 or 573025388selling cvv fullz track 1 and 2 bank login bank transfer wu bug wu transfer writing checks transfer to cc ...<br />
Fresh Cards. Selling Dumps, Cvvs, Fullz.<br />
Hello. We selling fresh dumps with original Track1 and Track2.<br />
There are normal cc`s with cvv code,USA fullz,UK+DOB.<br />
All stuff is checked and approved.<br />
ONLY ORIGINAL INFO!<br />
We have approved fresh dumps from USA, large bases.<br />
Visa Classic, MC Standart -$20. Visa Gold, Platinum, Business, Signature -$30.<br />
For orders other 100 pcs:<br />
Visa Classic, MC Standart -$10. Visa Gold, Platinum, Business, Signature -$20.<br />
We have EU dumps also.<br />
Visa Classic, MC Standart -$80. Visa Gold, Platinum, Business, Signature -$100.<br />
Formate is:<br />
5401683030957507=0909101200002 94 ;<br />
B5401683030957507^DAVIES/TOKUB O ^09091012000000294000000<br />
5178950005020616=1109101008479 1600000 517895;FIFTH THIRD PROCESSING SOLUTIONS, INC;United States of America;;GOLD;;OHIO;CINCINNATI<br />
<br />
Prices for normal CC is so:<br />
USA -$5.<br />
UK -$7.<br />
Others -$10.<br />
Formate is:<br />
Card Number | Exp. Date | CVV/CVV2 | First Name | Last Name | Street | City | State | Zip Code | Country | Phone | Type Of Card | Bank Name |<br />
<br />
cc checker: [Only registered and activated users can see links. ] p?p=check<br />
If you r interested in Fullz:<br />
USA -$20.<br />
UK(cvv+dob)-$30<br />
.<br />
We accept WU,libertyreserve only.<br />
We sell information only good quality, We don't offer bull**** stuff. Less price have ededededededs only.<br />
Be patient ih have any delays. We do all so fast how we can. we thank for your understanding.<br />
Service takes care of valid only, not their balance.<br />
It's available to sort cvvs by Classic/Gold/Platinum types, not giving any warranty of high<br />
amount balance.<br />
Service can deny to process Ur requerst witout explanation of reasons.<br />
<br />
1 COMERSUS SOFTWARE WITH BANK LOG IN AND BANK CREDIT CARD CODE ==========<br />
2 COMERSUS SOFTWARE WITHOUT BANK LOG IN AND BANK CREDIT CARD CODE ==========<br />
3 NEW WESTERN UNION HACKING BUG FOR WORLD WIDE TRANSFER ==========<br />
4 NEW PAYPAL LOG IN HACKWARE FOR HACKING FRESH PAYPAL ==========<br />
5 NEW SHOP ADMIN HACKWARE FOR HACKING ONLINE SHOP FOR CREDIT CARD==========<br />
6 NEW CREDIT CARD AMOUNT CHECKER FOR PEOPLE WANTING TO KNOW AMOUNT ON CC===<br />
7 NEW CREDIT CARD VALIDATOR FOR VALIDATING ANY FULL CC INFO ==========<br />
OTHER SERVICE INCLUDE..........<br />
BANK TO BANK TRANSFER TO ANY USA BANK<br />
BANK TO BANK TRANSFER TO ANY UK BANK<br />
BANK TO BANK TRANSFER TO ANY EURO COUNTRY BANK<br />
AMOUNT TO PAY FOR THAT DEPEND ON AMOUNT YOU WANT TO TRANSFER<br />
yahoo messager : <a href="mailto:xichack@yahoo.com">xichack@yahoo.com</a><br />
ICQ : 462659312 or 573025388</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://webforumz.com/php/">PHP</category>
			<dc:creator>ismecain</dc:creator>
			<guid isPermaLink="true">http://webforumz.com/php/75657-selling-cvv-fullz-track-1-and.htm</guid>
		</item>
		<item>
			<title><![CDATA[Hire a Professional Web Developer & Designer]]></title>
			<link>http://webforumz.com/php/75634-hire-a-professional-web-developer-and.htm</link>
			<pubDate>Tue, 17 Nov 2009 06:36:34 GMT</pubDate>
			<description>Need a Expert Web Developer and Designer? We can understand your exact business requirement at affordable cost.  
Hire a Professional and Expert PHP Web Developer/Programmer, Web Designer and as low...</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Need a Expert Web Developer and Designer? We can understand your exact business requirement at affordable cost. <br />
Hire a Professional and Expert <acronym title="Hypertext Preprocessor">PHP</acronym> Web Developer/Programmer, Web Designer and as low as $850 per month <br />
For more information Visit at<br />
<b><font color="Magenta">infinitustechnologies.com/</font><br />
</b></div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://webforumz.com/php/">PHP</category>
			<dc:creator>webdeveloperitt</dc:creator>
			<guid isPermaLink="true">http://webforumz.com/php/75634-hire-a-professional-web-developer-and.htm</guid>
		</item>
		<item>
			<title>PHP Form - Client receives emails with special characters</title>
			<link>http://webforumz.com/php/75622-php-form-client-receives-emails-with.htm</link>
			<pubDate>Mon, 16 Nov 2009 02:09:48 GMT</pubDate>
			<description>Hello - 
 
I am a novice web designer and I recently develop a site for a friend.  I included a Contact page in the site with a contact form and included some PHP to process the form input.  The form...</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hello -<br />
<br />
I am a novice web designer and I recently develop a site for a friend.  I included a Contact page in the site with a contact form and included some <acronym title="Hypertext Preprocessor">PHP</acronym> to process the form input.  The form has been working well, but recently my client has been getting bogus submissions mixed in with legitimate email messages.  Here is a sample of what she is receiving:<br />
<br />
Email: <a href="mailto:gybyyv@xxgvzz.com">gybyyv@xxgvzz.com</a><br />
<br />
Phone: IKwraYAermVyE<br />
<br />
Address: rWdDKdJKMcKhCKKC<br />
<br />
Apt/Unit: QYmByuuJwlpMHuyvAw<br />
<br />
Neighborhood: wXcqTgXjgEDfGmA<br />
<br />
Comments: GHmQUC  &lt;a href=&quot;<a href="http://skyxfcznfwaq.com/" target="_blank">http://skyxfcznfwaq.com/</a>&quot;&gt;skyxfcznfwaq&lt;/a&gt;,<br />
<a href="http://&#91;URL=%22http://zhcvtavakrwn.com/%5Dzhcvtavakrwn%5B/url%22" target="_blank">http://zhcvtavakrwn.com/]zhcvtavakrwn[/url</a>],<br />
[link=<a href="http://tfsdcbsnvlyj.com/%5Dtfsdcbsnvlyj%5B/link" target="_blank">http://tfsdcbsnvlyj.com/]tfsdcbsnvlyj[/link</a>],<br />
<a href="http://lnddaocnvpuc.com/" target="_blank">http://lnddaocnvpuc.com/</a><br />
<br />
<br />
I am not certain why this is occurring.  I assume it is a vulnerability in my code.  I've posted my code below.  Your thoughts are most appreciated!!!<br />
<br />
Matthew<br />
<br />
&lt;?<acronym title="Hypertext Preprocessor">php</acronym><br />
include('includes/corefuncs.<acronym title="Hypertext Preprocessor">php</acronym>');<br />
if(function_exists('nukeMagicQuotes')) {<br />
    nukeMagicQuotes();<br />
    }<br />
    <br />
// process the email<br />
if (array_key_exists('send', $_POST)) {<br />
  $to = 'someEmail@aol.com'; <br />
  $subject = 'Inquiry for My Client';<br />
  <br />
     // list expected fields<br />
  $expected = array('name', 'email', 'phone', 'address1', 'address2', 'neighborhood','comments');<br />
  // set required fields<br />
  $required = array('name', 'phone', 'comments');  //need to confirm which fields should be required<br />
  // create empty array for any missing fields<br />
  $missing = array();<br />
    <br />
    //assuming there is nothing suspect<br />
    $suspect = false;<br />
    //create a pattern to locate suspect phrases<br />
    $pattern = '/Content-Type:|Bcc:|Cc:/i';     ((NOTE THAT THE TWO SMILEY FACES ARE SUPPOSED TO BE A COLON FOLLOWED BY A PIPE))<br />
    <br />
    //function to check for suspect phrases<br />
    function isSuspect($val, $pattern, &amp;$suspect) {<br />
    //if the variable is an array, loop through each element<br />
    //and pass it recursively back to the same function<br />
    if(is_array($val)) {<br />
        foreach ($val as $item) {<br />
            isSuspect($item, $pattern, $suspect);<br />
            }<br />
        }<br />
        else {<br />
        // if one of the suspect phrases is found, set Boolean to true<br />
        if (preg_match($pattern, $val)) {<br />
            $suspect = true;<br />
            }<br />
        }<br />
    }<br />
    <br />
    if ($suspect) {<br />
        $mailSent = false;<br />
        unset($missing);<br />
        }<br />
    else {    <br />
   // process the $_POST variables<br />
  foreach ($_POST as $key =&gt; $value) {<br />
    // assign to temporary variable and strip whitespace if not an array<br />
    $temp = is_array($value) ? $value : trim($value);<br />
    // if empty and required, add to $missing array<br />
    if (empty($temp) &amp;&amp; in_array($key, $required)) {<br />
      array_push($missing, $key);<br />
      }<br />
    // otherwise, assign to a variable of the same name as $key<br />
    elseif (in_array($key, $expected)) {<br />
      ${$key} = $temp;<br />
      }<br />
    }<br />
}<br />
    <br />
    // go ahead only if not suspect and all required fields OK<br />
  if (!$suspect &amp;&amp; empty($missing)) {<br />
  <br />
  // build the message<br />
  $message = &quot;Name: $name\n\n&quot;;<br />
  $message .= &quot;Email: $email\n\n&quot;;<br />
    $message .= &quot;Phone: $phone\n\n&quot;;<br />
    $message .= &quot;Address: $address1\n\n&quot;;<br />
    $message .= &quot;Apt/Unit: $address2\n\n&quot;;<br />
    $message .= &quot;Neighborhood: $neighborhood\n\n&quot;;<br />
  $message .= &quot;Comments: $comments&quot;;<br />
<br />
  // limit line length to 70 characters<br />
  $message = wordwrap($message, 70);<br />
  <br />
  // send it  <br />
  $mailSent = mail($to, $subject, $message);<br />
        if ($mailSent) {<br />
      // $missing is no longer needed if the email is sent, so unset it<br />
      unset($missing);<br />
      }<br />
  }<br />
}<br />
?&gt;<br />
<br />
&lt;!DOCTYPE <acronym title="HyperText Markup Language">html</acronym> PUBLIC &quot;-//<acronym title="World Wide Web Consortium">W3C</acronym>//<acronym title="Document Type Definiton">DTD</acronym> <acronym title="eXtensible HyperText Markup Language">XHTML</acronym> 1.0 Transitional//EN&quot; &quot;<acronym title="HyperText Transfer Protocol">http</acronym>://www.w3.org/TR/xhtml1/<acronym title="Document Type Definiton">DTD</acronym>/xhtml1-transitional.<acronym title="Document Type Definiton">dtd</acronym>&quot;&gt;<br />
&lt;<acronym title="HyperText Markup Language">html</acronym> xmlns=&quot;<acronym title="HyperText Transfer Protocol">http</acronym>://www.w3.org/1999/<acronym title="eXtensible HyperText Markup Language">xhtml</acronym>&quot;&gt;<br />
<br />
&lt;head&gt;<br />
&lt;meta <acronym title="HyperText Transfer Protocol">http</acronym>-equiv=&quot;Content-Type&quot; content=&quot;text/<acronym title="HyperText Markup Language">html</acronym>; charset=utf-8&quot; /&gt;<br />
<br />
&lt;title&gt;Client Title&lt;/title&gt;<br />
<br />
&lt;style type=&quot;text/<acronym title="Cascading Style Sheets">css</acronym>&quot; media=&quot;all&quot;&gt;<br />
    @import &quot;<acronym title="Cascading Style Sheets">css</acronym>.<acronym title="Cascading Style Sheets">css</acronym>&quot;;<br />
&lt;/style&gt;<br />
<br />
&lt;script type=&quot;text/javascript&quot; src=&quot;scripts.<acronym title="JavaScript">js</acronym>&quot;&gt;&lt;/script&gt;<br />
<br />
&lt;!--[if IE 6]&gt;<br />
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/<acronym title="Cascading Style Sheets">css</acronym>&quot; href=&quot;ie6.<acronym title="Cascading Style Sheets">css</acronym>&quot; /&gt;<br />
&lt;![endif]--&gt;<br />
<br />
<br />
&lt;/head&gt;<br />
<br />
&lt;body&gt;<br />
<br />
&lt;div id=&quot;wrap&quot;&gt;<br />
&lt;div id=&quot;header&quot;&gt;<br />
    &lt;div id=&quot;navbar_subpage&quot;&gt;<br />
      &lt;ul id=&quot;nav&quot;&gt;<br />
        &lt;li id=&quot;home&quot;&gt;&lt;a href=&quot;index.htm&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;<br />
      &lt;li id=&quot;about&quot;&gt;&lt;a href=&quot;about.htm&quot;&gt;About&lt;/a&gt;&lt;/li&gt;   <br />
      &lt;li id=&quot;services&quot;&gt;&lt;a href=&quot;services.htm&quot;&gt;Services&lt;/a&gt;&lt;/li&gt;<br />
      &lt;li id=&quot;gallery&quot;&gt;&lt;a href=&quot;gallery.htm&quot;&gt;Gallery&lt;/a&gt;&lt;/li&gt;<br />
      &lt;li id=&quot;giving&quot;&gt;&lt;a href=&quot;giving_back.htm&quot;&gt;Giving Back&lt;/a&gt;&lt;/li&gt;<br />
      &lt;li id=&quot;testimonials&quot;&gt;&lt;a href=&quot;testimonials.htm&quot;&gt;Testimonials&lt;/a&gt;&lt;/li&gt;<br />
      &lt;li id=&quot;active&quot;&gt;&lt;a href=&quot;#&quot; id=&quot;current&quot;&gt;Contact&lt;/a&gt;&lt;/li&gt;<br />
      &lt;/ul&gt; <br />
  &lt;/div&gt; &lt;!-- end navbar --&gt;<br />
&lt;/div&gt; &lt;!-- end header --&gt;<br />
<br />
<br />
&lt;div id=&quot;leftcol&quot;&gt;<br />
        &lt;a href=&quot;index_pn.htm&quot;&gt;&lt;img src=&quot;http://webforumz.com/images/logo.jpg&quot; alt=&quot;&quot; title=&quot;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;<br />
    &lt;h1&gt;&lt;span&gt;&lt;/span&gt;&lt;/h1&gt;<br />
&lt;/div&gt;&lt;!-- end leftcol --&gt;<br />
<br />
&lt;div id=&quot;contact_form&quot;&gt;<br />
                 <br />
        &lt;form id=&quot;contact&quot; method=&quot;post&quot; action=&quot;&quot;&gt;  <br />
<br />
        &lt;fieldset&gt;  <br />
            &lt;legend&gt;&lt;span&gt;Contact the Client&lt;/span&gt;&lt;/legend&gt;  <br />
  <br />
                &lt;ol&gt;  <br />
                    &lt;li id=&quot;top&quot;&gt;  <br />
                        &lt;label for=&quot;name&quot;&gt;Name:&lt;?<acronym title="Hypertext Preprocessor">php</acronym><br />
                        if(isset($missing) &amp;&amp; in_array('name', $missing)) { ?&gt;<br />
            &lt;p class=&quot;warning_name&quot;&gt;Please enter your name&lt;/p&gt;&lt;?<acronym title="Hypertext Preprocessor">php</acronym> }?&gt;<br />
            &lt;/label&gt;  <br />
                        &lt;input id=&quot;name&quot; name=&quot;name&quot; class=&quot;text&quot; type=&quot;text&quot; <br />
            &lt;?<acronym title="Hypertext Preprocessor">php</acronym> if (isset($missing)) {<br />
                            echo 'value=&quot;'.htmlentities($_POST['name']).'&quot;';<br />
              } ?&gt;<br />
            /&gt;  <br />
                    &lt;/li&gt;  <br />
                    &lt;li&gt;  <br />
                        &lt;label for=&quot;email&quot;&gt;Email:&lt;/label&gt;  <br />
                        &lt;input id=&quot;email&quot; name=&quot;email&quot; class=&quot;text&quot; type=&quot;text&quot;<br />
             &lt;?<acronym title="Hypertext Preprocessor">php</acronym> if (isset($missing)) {<br />
                            echo 'value=&quot;'.htmlentities($_POST['email']).'&quot;';<br />
              } ?&gt;<br />
               /&gt;  <br />
                    &lt;/li&gt;  <br />
                    &lt;li&gt;  <br />
                        &lt;label for=&quot;phone&quot;&gt;Phone:&lt;?<acronym title="Hypertext Preprocessor">php</acronym><br />
                        if(isset($missing) &amp;&amp; in_array('phone', $missing)) { ?&gt;<br />
            &lt;p class=&quot;warning_phone&quot;&gt;Please enter your phone number &lt;/p&gt;&lt;?<acronym title="Hypertext Preprocessor">php</acronym> }?&gt;        <br />
            &lt;/label&gt;  <br />
                        &lt;input id=&quot;phone&quot; name=&quot;phone&quot; class=&quot;text&quot; type=&quot;text&quot; <br />
             &lt;?<acronym title="Hypertext Preprocessor">php</acronym> if (isset($missing)) {<br />
                            echo 'value=&quot;'.htmlentities($_POST['phone']).'&quot;';<br />
              } ?&gt;<br />
              /&gt;  <br />
                    &lt;/li&gt;  <br />
                &lt;/ol&gt;  <br />
        &lt;/fieldset&gt;  <br />
        &lt;fieldset&gt;  <br />
            &lt;legend&gt;&lt;span&gt;Please provide us with your address&lt;/span&gt;&lt;/legend&gt;  <br />
                &lt;ol&gt;  <br />
                    &lt;li id=&quot;top&quot;&gt;  <br />
                        &lt;label for=&quot;address1&quot;&gt;Address:&lt;/label&gt;  <br />
                        &lt;input id=&quot;address1&quot; name=&quot;address1&quot; class=&quot;text&quot; type=&quot;text&quot; <br />
             &lt;?<acronym title="Hypertext Preprocessor">php</acronym> if (isset($missing)) {<br />
                            echo 'value=&quot;'.htmlentities($_POST['address1']).'&quot;';<br />
              } ?&gt;<br />
              /&gt;  <br />
                    &lt;/li&gt;  <br />
                    &lt;li&gt;  <br />
                        &lt;label for=&quot;address2&quot;&gt;Apt/Unit:&lt;/label&gt;  <br />
                        &lt;input id=&quot;address2&quot; name=&quot;address2&quot; class=&quot;text&quot; type=&quot;text&quot; <br />
             &lt;?<acronym title="Hypertext Preprocessor">php</acronym> if (isset($missing)) {<br />
                            echo 'value=&quot;'.htmlentities($_POST['address2']).'&quot;';<br />
              } ?&gt;<br />
              /&gt;  <br />
                    &lt;/li&gt;  <br />
                    &lt;li&gt;  <br />
                        &lt;label for=&quot;neighborhood&quot;&gt;Neighborhood:&lt;/label&gt;  <br />
                        &lt;input id=&quot;neighborhood&quot; name=&quot;neighborhood&quot; class=&quot;text&quot; type=&quot;text&quot; <br />
             &lt;?<acronym title="Hypertext Preprocessor">php</acronym> if (isset($missing)) {<br />
                            echo 'value=&quot;'.htmlentities($_POST['neighborhood']).'&quot;';<br />
              } ?&gt;<br />
              /&gt;  <br />
                    &lt;/li&gt;   <br />
          &lt;/ol&gt; <br />
      &lt;/fieldset&gt;<br />
      &lt;fieldset&gt;<br />
        &lt;legend&gt;&lt;span&gt;Tell us about your needs&lt;/span&gt;&lt;/legend&gt;<br />
          &lt;ol&gt;<br />
            &lt;li id=&quot;top&quot;&gt;<br />
                          &lt;label for=&quot;comments&quot;&gt;Your message: &lt;?<acronym title="Hypertext Preprocessor">php</acronym><br />
                        if(isset($missing) &amp;&amp; in_array('comments', $missing)) { ?&gt;<br />
            &lt;p class=&quot;warning_comments&quot;&gt;Please enter your message&lt;/p&gt;&lt;?<acronym title="Hypertext Preprocessor">php</acronym> }?&gt;<br />
            &lt;/label&gt;<br />
                            &lt;textarea id=&quot;comments&quot; rows=&quot;3&quot; cols=&quot;30&quot; name=&quot;comments&quot; wrap=&quot;physical&quot;&gt;&lt;/textarea&gt;<br />
            &lt;/li&gt;<br />
          &lt;/ol&gt;<br />
            &lt;/fieldset&gt;<br />
          <br />
        &lt;fieldset class=&quot;submit&quot;&gt;  <br />
                &lt;input class=&quot;submit&quot; name=&quot;send&quot; id=&quot;send&quot; type=&quot;submit&quot; value=&quot;Send&quot; /&gt;  <br />
        &lt;/fieldset&gt;<br />
&lt;/form&gt;<br />
<br />
<br />
&lt;/div&gt;<br />
      <br />
<br />
&lt;?<acronym title="Hypertext Preprocessor">php</acronym><br />
        if ($_POST &amp;&amp; isset($missing) &amp;&amp; !empty($missing)) {<br />
        ?&gt;<br />
    &lt;p class=&quot;warning&quot;&gt;Please complete the missing item(s) indicated.&lt;/p&gt;<br />
    &lt;?<acronym title="Hypertext Preprocessor">php</acronym><br />
        }<br />
        elseif ($_POST &amp;&amp; !$mailSent) {<br />
        ?&gt;<br />
          &lt;p class=&quot;warning&quot;&gt;Sorry, there was a problem sending your message. Please try later.&lt;/p&gt;<br />
        &lt;?<acronym title="Hypertext Preprocessor">php</acronym><br />
          }<br />
        elseif ($_POST &amp;&amp; $mailSent) {<br />
        ?&gt;<br />
          &lt;p class=&quot;sent_message&quot;&gt;Your message has been sent. Thank you for your inquiry. &lt;br /&gt;The Client will contact you shortly.&lt;/p&gt;<br />
        &lt;?<acronym title="Hypertext Preprocessor">php</acronym> } ?&gt;<br />
 <br />
<br />
&lt;/div&gt;  &lt;!-- end wrap --&gt;<br />
&lt;/body&gt;<br />
&lt;/<acronym title="HyperText Markup Language">html</acronym>&gt;</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://webforumz.com/php/">PHP</category>
			<dc:creator>mtmanos16</dc:creator>
			<guid isPermaLink="true">http://webforumz.com/php/75622-php-form-client-receives-emails-with.htm</guid>
		</item>
		<item>
			<title><![CDATA[Avoid php "hanging" page]]></title>
			<link>http://webforumz.com/php/75567-avoid-php-hanging-page.htm</link>
			<pubDate>Fri, 13 Nov 2009 11:34:22 GMT</pubDate>
			<description>Hello, 
I have a php page that the user enters some data in a textarea, and then this data is fed into a command line program. When the execution of the command line programm finishes, the results...</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hello,<br />
I have a <acronym title="Hypertext Preprocessor">php</acronym> page that the user enters some data in a textarea, and then this data is fed into a command line program. When the execution of the command line programm finishes, the results are stored in an output file that is created. The &quot;results&quot; <acronym title="Hypertext Preprocessor">php</acronym> page then reads this file and the user views the results. My problem is that sometimes (depending on the amount of data inserted and, subsequently the size of the output file created by the command-line programm), the <acronym title="Hypertext Preprocessor">php</acronym> results page crushes, outputting error like:<br />
<br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 846269 bytes) in /results.<acronym title="Hypertext Preprocessor">php</acronym> on line 125</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->In this line of the script, I read the whole file into a string and then separate each result chunk by a separator (//) that the command line programm creates:<br />
<br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"> $res_handle= fopen($output_file, &quot;r&quot;);<br />
&nbsp;$results = fread($res_handle, filesize($output_file));<br />
&nbsp;fclose($res_handle);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp;$separated_entries = explode (&quot;//&quot;, $results);</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->Then, foreach chunk, I output the results to the user. Is there something that I must configure in <acronym title="Hypertext Preprocessor">php</acronym> so that it won't have memory problems? Or another way to slurp the total output file without exhausting the memory?<br />
<br />
thank you!</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://webforumz.com/php/">PHP</category>
			<dc:creator>ktsirig</dc:creator>
			<guid isPermaLink="true">http://webforumz.com/php/75567-avoid-php-hanging-page.htm</guid>
		</item>
		<item>
			<title>exclude characters from counting?</title>
			<link>http://webforumz.com/php/75536-exclude-characters-from-counting.htm</link>
			<pubDate>Tue, 10 Nov 2009 14:20:51 GMT</pubDate>
			<description><![CDATA[Hello, I wanted to ask if you have a string like: 
 
Code: 
--------- 
$my_s='ASRGREGTGTR----REGREGRE+++RRRRRR....'; 
--------- 
is there a way to count the length of the string, excluding non-word...]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hello, I wanted to ask if you have a string like:<br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">$my_s='ASRGREGTGTR----REGREGRE+++RRRRRR....';</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->is there a way to count the length of the string, excluding non-word characters (+,- or .)?<br />
<br />
thank you</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://webforumz.com/php/">PHP</category>
			<dc:creator>ktsirig</dc:creator>
			<guid isPermaLink="true">http://webforumz.com/php/75536-exclude-characters-from-counting.htm</guid>
		</item>
		<item>
			<title>Web site designing</title>
			<link>http://webforumz.com/php/75510-web-site-designing.htm</link>
			<pubDate>Sat, 07 Nov 2009 16:31:12 GMT</pubDate>
			<description>How to upload site</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>How to upload site</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://webforumz.com/php/">PHP</category>
			<dc:creator>shuklaarun1186</dc:creator>
			<guid isPermaLink="true">http://webforumz.com/php/75510-web-site-designing.htm</guid>
		</item>
		<item>
			<title>weird named array key causing problems</title>
			<link>http://webforumz.com/php/75509-weird-named-array-key-causing-problems.htm</link>
			<pubDate>Sat, 07 Nov 2009 15:44:45 GMT</pubDate>
			<description><![CDATA[hi all 
 
Im using the simplexml_load_file function here. 
 
There is an attribute in the xml named @attributes which but in using the code below: 
 
$stat = $xml->@attributes->stat; 
 
throws me an...]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>hi all<br />
<br />
Im using the simplexml_load_file function here.<br />
<br />
There is an attribute in the <acronym title="eXtensible Markup Language">xml</acronym> named @attributes which but in using the code below:<br />
<br />
$stat = $<acronym title="eXtensible Markup Language">xml</acronym>-&gt;@attributes-&gt;stat;<br />
<br />
throws me an error, of course, unexpected '@'. How can i get around this?</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://webforumz.com/php/">PHP</category>
			<dc:creator>benbramz</dc:creator>
			<guid isPermaLink="true">http://webforumz.com/php/75509-weird-named-array-key-causing-problems.htm</guid>
		</item>
		<item>
			<title>How do I retrieve the last line of a file?</title>
			<link>http://webforumz.com/php/75503-how-do-i-retrieve-the-last.htm</link>
			<pubDate>Fri, 06 Nov 2009 16:14:19 GMT</pubDate>
			<description>I go through a file using 
the WHILE(! feof()) function. 
 
During the while loop, I write 
to a file ($wfile). 
 
Once done, I need to make a  
change in the last line of the output 
file.</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>I go through a file using<br />
the WHILE(! feof()) function.<br />
<br />
During the while loop, I write<br />
to a file ($wfile).<br />
<br />
Once done, I need to make a <br />
change in the last line of the output<br />
file.<br />
<br />
How do I do this?</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://webforumz.com/php/">PHP</category>
			<dc:creator>ruffy</dc:creator>
			<guid isPermaLink="true">http://webforumz.com/php/75503-how-do-i-retrieve-the-last.htm</guid>
		</item>
		<item>
			<title>Vbulletin Encryption Help</title>
			<link>http://webforumz.com/php/75474-vbulletin-encryption-help.htm</link>
			<pubDate>Fri, 06 Nov 2009 03:16:01 GMT</pubDate>
			<description>Nevermind i got it to work, you can delete this.</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Nevermind i got it to work, you can delete this.</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://webforumz.com/php/">PHP</category>
			<dc:creator>Mike Sidelka</dc:creator>
			<guid isPermaLink="true">http://webforumz.com/php/75474-vbulletin-encryption-help.htm</guid>
		</item>
		<item>
			<title>question about smarty</title>
			<link>http://webforumz.com/php/75473-question-about-smarty.htm</link>
			<pubDate>Thu, 05 Nov 2009 23:28:51 GMT</pubDate>
			<description>i am using smarty template engine at work place, following is the situation 
 
i already have 1 template that has already been created example = http://localhost/sites/template1.com this works fine 
...</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>i am using smarty template engine at work place, following is the situation<br />
<br />
i already have 1 template that has already been created example = <a href="http://localhost/sites/template1.com" target="_blank">http://localhost/sites/template1.com</a> this works fine<br />
<br />
following is the folder structure i have for smarty on xampp<br />
<br />
1. C:\xampp\htdocs\sites\template1.com where i have .htaccess index.<acronym title="Hypertext Preprocessor">php</acronym> and siteconf.<acronym title="Hypertext Preprocessor">php</acronym><br />
<br />
2. C:\xampp\htdocs\sites\_templates\templates\templat  e1<br />
<br />
<br />
in the siteconf.<acronym title="Hypertext Preprocessor">php</acronym> file there are all the major variables defined which are accessed in other tpl file of the templates example in aboutus page, contactus page etc of this template1<br />
<br />
now i have created another template called template2 and this also has the same structure <br />
<br />
1. C:\xampp\htdocs\sites\template2.com where i have .htaccess index.<acronym title="Hypertext Preprocessor">php</acronym> and siteconf.<acronym title="Hypertext Preprocessor">php</acronym><br />
<br />
2. C:\xampp\htdocs\sites\_templates\templates\templat  e2<br />
<br />
<br />
my question is the look and feel when i access<br />
<a href="http://localhost/sites/template1.com" target="_blank">http://localhost/sites/template1.com</a> and<br />
<a href="http://localhost/sites/template2.com" target="_blank">http://localhost/sites/template2.com</a><br />
<br />
is the same the only thing that needs to be done is for template2 when i access <a href="http://localhost/sites/template2.com" target="_blank">http://localhost/sites/template2.com</a> ONLY the header image should be different compared to the header i have for <a href="http://localhost/sites/template1.com" target="_blank">http://localhost/sites/template1.com</a> this is the only change i need<br />
<br />
i am not aware as to the <acronym title="Hypertext Preprocessor">php</acronym> code i need to write so that when i access <a href="http://localhost/sites/template2.com" target="_blank">http://localhost/sites/template2.com</a> the header image changes and this new header image remains for the entire pages of <a href="http://localhost/sites/template2.com" target="_blank">http://localhost/sites/template2.com</a><br />
<br />
presently in header.tpl of template1 is written as follows<br />
<br />
{if strpos($Data.KEYWORD,&quot;rv rental&quot;) === false}<br />
&lt;div class=&quot;header&quot; style=&quot;background:url(images/header_{$siteData.COUNTRY3}.<acronym title="Graphics Interchange Format">gif</acronym>) no-repeat top left;&quot;&gt;<br />
{else}<br />
&lt;div class=&quot;header&quot; style=&quot;background:url(images/header_{$siteData.COUNTRY3}_rv.<acronym title="Graphics Interchange Format">gif</acronym>) no-repeat top left;&quot;&gt;<br />
{/if}<br />
&lt;/div&gt;<br />
<br />
so i need to change the {if} {else} where i need to mention that if i am accessing <a href="http://localhost/sites/template2.com" target="_blank">http://localhost/sites/template2.com</a> then the header image should be different.<br />
<br />
any help will be greatly appreciated.<br />
<br />
please advice.<br />
<br />
thanks.</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://webforumz.com/php/">PHP</category>
			<dc:creator>sudhakararaog</dc:creator>
			<guid isPermaLink="true">http://webforumz.com/php/75473-question-about-smarty.htm</guid>
		</item>
		<item>
			<title><![CDATA[FWRITE - Why would "skip a line" affect subsequent writes?]]></title>
			<link>http://webforumz.com/php/75471-fwrite-why-would-skip-a-line.htm</link>
			<pubDate>Thu, 05 Nov 2009 23:24:05 GMT</pubDate>
			<description><![CDATA[My code below writes the first line,  
intermediate lines, and finally the 
last line. 
 
NOTE: *I want to skip a line after writing the first, 
and only the first, line!* 
 
But - putting the "\n"...]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>My code below writes the first line, <br />
intermediate lines, and finally the<br />
last line.<br />
<br />
NOTE: <b>I want to skip a line after writing the first,<br />
and only the first, line!</b><br />
<br />
But - putting the &quot;\n&quot; after the first write<br />
causes <b>ALL</b> subsequent writes to <b>ALSO</b> skip<br />
a line - something I do not want to happen,<br />
even though those fwrites do <b>NOT</b> have the &quot;\n&quot;<br />
in their syntax.<br />
<br />
Why does the first write's skip action<br />
influence the rest of the fwrites, and how,<br />
then, do I get only the first skip executed <br />
without causing further skips thereafter?<br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&lt;?<acronym title="Hypertext Preprocessor">php</acronym><br />
&nbsp;$file&nbsp; &nbsp; &nbsp;  = fopen(&quot;./readArray.<acronym title="Hypertext Preprocessor">php</acronym>&quot;,&quot;r&quot;);<br />
&nbsp;$wfile&nbsp;  = fopen(&quot;./writeArray.txt&quot;, &quot;w&quot;);<br />
&nbsp;fwrite($wfile, &quot;var jsArray = [\n&quot;);<br />
&nbsp;while(! feof($file))<br />
&nbsp;{&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp;  $phpLine = fgets($file);<br />
&nbsp;  fwrite($wfile, $phpLine);<br />
&nbsp;}<br />
&nbsp;fclose($file);<br />
&nbsp;fwrite($wfile, &quot;]&quot;);<br />
&nbsp;fclose($wfile);<br />
?&gt;</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->If I change the first fwrite statement to<br />
<b><font color="Blue">fwrite($wfile, &quot;var jsArray = [&quot;);</font></b><br />
each write appears on their own line,<br />
as I want it, except for the first line's<br />
missing skip. How do I skip only<br />
after the first fwrite?</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://webforumz.com/php/">PHP</category>
			<dc:creator>ruffy</dc:creator>
			<guid isPermaLink="true">http://webforumz.com/php/75471-fwrite-why-would-skip-a-line.htm</guid>
		</item>
	</channel>
</rss>
