Class problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
MbahGondrong
Forum Newbie
Posts: 7
Joined: Wed Apr 22, 2009 2:37 pm

Class problem

Post by MbahGondrong »

I used this class to create a file :

http://www.phpclasses.org/browse/package/1038.html

It have a syntax such as:

$file="folder2//blablabla.xml" (in windows creating xml file)

Now in linux that kinda error and if changed to only single backslash it creates the file, but the file appear with all the "folder2/blablabla.xml" not blablabla.xml. Also it appear in where the php file is not in the folder destination.

In windows this didnt happen and the file appear correctly blablabla.xml and the creation is in right folder which is inside folder2 not in the same folder with php file.

Help is very appreciated, this is for my thesis.

Thanks and sorry for bad english.
david64
Forum Commoner
Posts: 53
Joined: Sat May 02, 2009 8:12 am
Location: Wales

Re: Class problem

Post by david64 »

Post Reply