Jump to content

Big problem with my script


JayJabber

Recommended Posts

Well this problem has occurred a lot.

 

I try to put ". $_GET['site'] ." or ". $_POST['site'] ." in my script and i get a server errror when trying t access my page ( error connecting the page basically)

 

 

Here is the part of the script which that is occuring to:

if($_GET['step'] == 2)

{

echo 'Just adding INCLUDE files';

                                        exec('xcopy /X/ / ". $_GET['site'] ." / /e/i', $a, $a1);  <---- This line

echo '<form action="install.php?step=3&guid='. $my_guid .'" method="post">';

echo '<input type="submit" value="Continue">';

echo '</form>';

}

 

When i try using the $_GET function or $_POST functions in alot of stuff it just shows an server error(error connecting the page on my browser)

 

Someone please help!

Link to comment
Share on other sites

Ah. Well in that case, you will need something slightly more advanced.

 

Try looking in the user comments on the copy page. I'm sure you can find a snippet that will help you.

 

Cannot find anything,

Is there a way to copy files in a certain folder and you can repeat using that code? If you know what i mean if so then plz post it.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.