TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 12-27-2007, 09:01 PM   #1 (permalink)
The Frequenter
 
Join Date: Dec 2007
Location: In my basement
Posts: 386
Thanks: 47
Aaron is on a distinguished road
Default Are operating system commands system unique?

So... My computer has its own server-like thing that I use to develop my scripts, but my web server is Linux.

If I start getting into operating system commands will I need to like... make the same command for both OS's? What is the deal here?
Send a message via MSN to Aaron
Aaron is offline  
Reply With Quote
Old 12-27-2007, 09:51 PM   #2 (permalink)
The Acquainted
 
sjaq's Avatar
 
Join Date: Nov 2007
Location: Netherlands
Posts: 113
Thanks: 11
sjaq is on a distinguished road
Default

And your own computer is Windows?

How do you mean "system commands", command line scripts? or system commands in php?
sjaq is offline  
Reply With Quote
Old 12-28-2007, 05:56 AM   #3 (permalink)
The Frequenter
 
Join Date: Dec 2007
Location: In my basement
Posts: 386
Thanks: 47
Aaron is on a distinguished road
Default

Uhh... I am pretty sure it is command line scripts...

And yes, I have a windows computer with WAMP.

No, it is using Operating system commands. Like dir for windows and ls for linux/unix

And while we are at it... I need to learn more about timestamps and how to convert them to normal times or dates...
Send a message via MSN to Aaron
Aaron is offline  
Reply With Quote
Old 12-28-2007, 10:13 AM   #4 (permalink)
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

You mean shell commands. And the answer is mostly yes. Avoid using shell commands very much, though (it's ok to use mysqldump or mysqlimport for example - they are the same on both *nix and windows). Why do you need them so badly? Write a library in PHP that does the same thing, if it's not a common FS operation or such.
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote
Old 12-28-2007, 07:19 PM   #5 (permalink)
The Acquainted
 
Join Date: Sep 2007
Location: Arizona
Posts: 114
Thanks: 10
Andrew is on a distinguished road
Default

Quote:
Originally Posted by Aaron View Post
And while we are at it... I need to learn more about timestamps and how to convert them to normal times or dates...
date(): PHP: date - Manual
Send a message via AIM to Andrew Send a message via MSN to Andrew
Andrew is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 02:12 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design