Tutorials
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOtherTutorials

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old November 3rd, 2003, 06:08 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
News System with PHP - Part 2???

i used the news system part 2 tutorial...i got it all working just fine.. but heres the deal..

i didnt use it for a news script..i modified the layout a little. im using it to add results to some matches for my clan..see it here http://kp-et.com/results.php. i got it to work flawlessly on my server (my box, win2k with IIS, php 4.3.3) no problems..but on our web server (RH 7.3, php 4.1.2)...no problems except...

when i post results they all come out ok except for one.."WON, or LOSS, or TIE" are larger than the others when i make a post...i have it so it shows the results like this:

<td width='75' height='20'>" .
$pieces[5] . "</td>

cause on the posting form i use radio buttons to choose win/lose/tie and the value for each radio button is like this:

<td width='75' height='20'><font color='#00CCFF' size='1' face='Verdana, Arial, Helvetica, sans-serif'>WON</font></td>
<td height='20'></td>

sometimes with up to 3 's...this is causing the font size error..cause when i go into the text file and delete them it formats correctly, any ideas?

is it just the php version difference? or more than that?

<input type="radio" name="outcome" value="<font color='#00CCFF' size='1' face='Verdana, Arial, Helvetica, sans-serif'>WON</font>" />

it works just find on my test server...but not the actual server..when the post is made the script makes it like this:


Reply With Quote
  #2  
Old November 3rd, 2003, 09:26 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to notepad
RE: News System with PHP - Part 2???

i'd think using stripslashes() before printing the font data would solve the prob

Reply With Quote
  #3  
Old November 4th, 2003, 11:54 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
RE: News System with PHP - Part 2???

ah yes...worked like a charm...thanks a bunch!

Reply With Quote
Reply

Viewing: Codewalkers ForumsOtherTutorials > News System with PHP - Part 2???


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek