Irish SEO,  Marketing & Webmaster Discussion

 
play.com free delivery

Wamp and tar support

This is a discussion on Wamp and tar support within the Server / Technical Administration Tips and Queries forums, part of the Webmaster Help category; I still can't get this working. I put the command line below into windows command prompt and it successfully created ...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Server / Technical Administration Tips and Queries

Register Forum Rules FAQDonate Members List Calendar Search Today's Posts Mark Forums Read


Notices

Reply

 

LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 28-08-2008, 01:54 PM
Tom Tom is offline
Wannabe Geek
 
Join Date: Jan 2007
Location: Kildare, Ireland
Posts: 183
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Tom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to behold
Default

I still can't get this working. I put the command line below into windows command prompt and it successfully created a test.tar file.

Code:
C:UnxUtilsusrlocalwbintar.exe -cf C:UsersTomDocumentstest.tar -C C:wampwwwwebsiteshop catalog
I had to drop the z parameter for it to work because it was giving an error...

Quote:
Cannot use compressed or remote archives
But using the same line above in shell_exec in my php web page doesn't seem to be doing anything. x10

Code:
shell_exec("C:UnxUtilsusrlocalwbintar.exe -cf C:UsersTomDocumentstest.tar -C C:wampwwwwebsiteshop catalog");
Edit: Forum has stripped slashes in code above
__________________
MGS Web Design - Web Design Kildare, Web Design Ireland

Last edited by Tom; 28-08-2008 at 01:56 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12 (permalink)  
Old 28-08-2008, 01:57 PM
Forbairt's Avatar
respect my AW-THOR-IT-AYY
Recent Blog: Free CSS book
 
Join Date: Jun 2007
Location: My Office, Dublin
Posts: 2,097
Nominated 2 Times in 1 Post
Nominated TOTW/F/M Award(s): 1
Forbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enough
Send a message via AIM to Forbairt Send a message via MSN to Forbairt Send a message via Yahoo to Forbairt Send a message via Skype™ to Forbairt
Default

are you running wamp php in safe mode ?
__________________
Forbairt Media | Web Design & Development Galway / Dublin, Ireland - coming soon ... ( vague but descriptive isn't it )
Recent Work: Safari Club African Safari Holidays - Malawi Safaris
Other Stuff: FluffyLinkulator Rapid Inclusion Service Tools
Jumper Stuff: Task Drop's Official Geansai Gorm Website
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13 (permalink)  
Old 28-08-2008, 02:09 PM
gav240z's Avatar
Wannabe Geek
 
Join Date: Dec 2007
Location: Rathmines, Dublin
Posts: 427
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
gav240z is a jewel in the roughgav240z is a jewel in the roughgav240z is a jewel in the rough
Default

Quote:
Originally Posted by Forbairt View Post
Personally I love vi for quick edits (config files and so on)

you'll want to ask them if you've got shell access with your account.
You'll also want to ask them if you can run

tar gunzip zip unzip chmod chown ...

a lot of hosts will only let you copy files around

You'll find however a lot of the filemanagers will let you upload zip / tar / gz files and will let you decompress them on the server.
Thanks mate will do.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #14 (permalink)  
Old 28-08-2008, 02:09 PM
Tom Tom is offline
Wannabe Geek
 
Join Date: Jan 2007
Location: Kildare, Ireland
Posts: 183
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Tom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to behold
Default

Nope safe mode is off according to phpinfo and is not ticked in wamp>php settings


Edit: I tried echo shell_exec("dir"); and it seems to be working outputting the directory info on the web page.


Edit 2: I finally got it working through shell_exec(), I was using the wrong slashes in the paths, should have changed \ to / doh! Still can't get it to work with the z parameter which is supposed to gzip it, but at least I'm getting somewhere.

Last edited by Tom; 28-08-2008 at 03:43 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
support, tar, wamp

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Buy.at Support? blacknight Buy.at 9 11-06-2008 11:45 AM
What should I charge for support alex The Business Aspects of Web Work 7 07-02-2008 11:12 PM
Technical Support L1 blacknight Employment Available 4 14-12-2007 09:24 AM
Etiquette with support Forbairt Off topic discussion 8 03-11-2007 11:20 AM
support script ? kitna23 Webmaster Discussion 0 25-10-2006 05:45 PM


Sponsored links

Paid On Results


All times are GMT +1. The time now is 11:26 AM.


Powered by: vBulletin Version 3.7.3, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.2.0