OZONE Asylum
Forums
Server-Side Scripting - Oh my!
FWRITE - Why does "skip a line" influences subsequent writes?
This page's ID:
31458
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
well, what you describe doesn't make sense, but here's a stab. But fgets will return a new line at the end of a line, perhaps that is your problem, then the answer would be 'strip()'. Or for some reason php opens one of these files with \r\n -> \n conversion and the otherone without... "fwrite($wfile, "var jsArray = [\n");" shouldn't skip a line either, just simple introduce a line break.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »
Maximum Security
OZONE
DHTML/Javascript
Server-Side Scripting - Oh my!
CSS - DOM - XHTML - XML - XSL - XSLT
Stupid Basic HTML
Visual Therapy
Photoshop
Photoshop Pong, Anyone?
***WARNING*** BIG SIG APPROACHING
Photography
3D Modelling & Rendering
Multimedia/Animation
Print Graphics
Holding Pens
Philosophy and other Silliness
Outpatient Counseling
Site reviews!
Mad Scientists' Laboratory
Getting to know the Grail