Page 1 of 1
[solved] Need Help with php module. Simple php, 1st attempt
Posted: Wed Jan 09, 2008 4:50 pm
by denzel2364
hi there,
i have created an xml file:
Xbox 360 Gamertag
08/Jan/2008
Dean Hodges
This template is released under the GNU/GPL License
[email protected]
http://www.pimpmyxbox.co.uk
1.0
Displays your xbox live gamertag
mod_gamertag.php
HOpefully that is ok. Ive also created a simple php file:
/ / No Direct Access
Defined ( '_VALID_MOS') or die ( 'restricted access');
$ Name = $ my -> username;
$ Gamertag = $ name;
$ Position = $ params -> get ( 'position');
?>
< Php echo $ position;>>
Re: Need Help with php module. Simple php, 1st attempt
Posted: Wed Jan 09, 2008 5:05 pm
by ianmac
Installs fine here...
Please note though that there is a deficiency in the Mac OS/X package system that adds extra files to zip files without prompting the user.
See
http://floatingsun.net/2007/02/07/whats ... -zip-files for more information.
Ian
Re: Need Help with php module. Simple php, 1st attempt
Posted: Wed Jan 09, 2008 5:08 pm
by denzel2364
Thanks ian.
i noticed that there was an issue. You must have known i was on a mac!
can i see it in action? Also if you are on a PC, can you zip it for me.
That would be very kind
Re: Need Help with php module. Simple php, 1st attempt
Posted: Wed Jan 09, 2008 5:31 pm
by ianmac
I didn't know you were on a Mac except by opening up the archive - I have seen this problem with Mac's before.
You can follow the instructions on the link I mentioned indicating how to get an archiver that works properly.
Even with the extra files, it installed fine here.
Ian
Re: Need Help with php module. Simple php, 1st attempt
Posted: Wed Jan 09, 2008 5:34 pm
by infograf768
One can choose the files and use dropstuff instead of the Finder.
Usually, this get rid of the invisible files.
Re: [solved] Need Help with php module. Simple php, 1st attempt
Posted: Mon Jan 21, 2008 2:28 pm
by motd
You can also use the command line's "zip" command which ignores the __MACOSX stuff if I remember correctly.
Re: Need Help with php module. Simple php, 1st attempt
Posted: Sun Jan 27, 2008 3:25 am
by shaeleigh
FWIW, this seems to have been my problem. If I hadn't seen your post, it never would have crossed my mind.
Re: [solved] Need Help with php module. Simple php, 1st attempt
Posted: Mon Jan 28, 2008 9:09 am
by denzel2364
I hope it helps people.
i have a mac and im using a free bit of software called YemuZip. Its briliant. No problems at all.
Highly recommend