Php Level 3

Status
Not open for further replies.

javajenius

New Member
Messages
258
Reaction score
0
Points
0
I would really like to have the level 3 version of php for test of the program im trying to build. (Php web hosting panel) I dont know if i am allowed to apply for it. I read the info next to it and it said that you need to have an extremely good reason to apply. Should I apply for it, or will i just get rejected immediately?
 
Last edited:

Starshine

Legend Killer
Messages
14,423
Reaction score
0
Points
0
I would really like to have the level 3 version of php for test of the program im trying to build. (Php web hosting panel) I dont know if i am allowed to apply for it. I read the info next to it and it said that you need to have an extremely good reason to apply. Should I apply for it, or will i just get rejected immediately?

What PHP things are you needing? A lot is allowed in Intermediate. Maybe if you explained here what you were needing to use, and what it would be used for - Corey & Bryon can decide if you should apply for Lvl 3.
 

javajenius

New Member
Messages
258
Reaction score
0
Points
0
I would like to execute a command from php, since i have setup a script to install my project. Its for testing purposes, and i would only need to execute it once so it installs.


I think this is too much to ask, but thanks for at least replying.
 

Starshine

Legend Killer
Messages
14,423
Reaction score
0
Points
0
I would like to execute a command from php, since i have setup a script to install my project. Its for testing purposes, and i would only need to execute it once so it installs.


I think this is too much to ask, but thanks for at least replying.

Which command? Don't give up that easily, please. Thats why I asked what I have a feeling they would ask. They would want to know the PHP command you want to execute and what it does before they consider it.
 

javajenius

New Member
Messages
258
Reaction score
0
Points
0
I want to run exec(), which executes a command. I am trying to make an automatic installer using a bash script.

Here is the simple php code:
Code:
<?php
echo "Now running the installation...";
exec('./setup.sh');
echo "Php Panel is now installed!";
?>

Here is the bash script:
Code:
#!/bin/bash
cd /home/mirush12/public_html         # Root of Apache
mkdir phpanel_files   # Make a new folder 
cd /var/www/phpanel_files    # Go to the folder
wget -r -l 0 http://www.java.x10hosting.com/panelfiles # Download all files

It just downloads files off of java.x10hosting.com. No big deal. This is the only way i know to download files from my website into someones server.

This script is only for testing, since it is just copying files from itself.

Its okay if i don't get level 3, and thanks for the replies.
 
Last edited:
Status
Not open for further replies.
Top