blueyucca Posted October 6, 2009 Share Posted October 6, 2009 I am new to PHP. i am taking a class on PHP programming using MySQL. I am doing my homework at work, but all I have access to is Unix machine (A sun solaris 5.0...I THINK, I can't remember since I am not at work right now). I am using the OReilly PHP cookbook and one of the functions that caught my eye was the substr_replace() function. I have figured out how to use #! /usr/local/bin/php and PHP runs fine on Unix without needing HTML, but now I want to get a user to enter four sets of four numbers and then run the substr_replace() function. However, the two OReilly PHP books at my disposal rely heavily on HTML for user interaction and display. I would like some suggestions on how to get around this. Thanks so much having this site!! Christine Quote Link to comment https://forums.phpfreaks.com/topic/176629-running-php-on-unix/ Share on other sites More sharing options...
trq Posted October 6, 2009 Share Posted October 6, 2009 I would like some suggestions on how to get around this. So you want to use php with a command line interface? Take a look at the cli section of the manual. Quote Link to comment https://forums.phpfreaks.com/topic/176629-running-php-on-unix/#findComment-931256 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.