Jump to content
Sign in to follow this  
LoLoL

HELP: how to get rid of the forms in easypopulate.php?

Recommended Posts

Hello everybody,

Happy New Year!

 

Could you please help me? It's an emergency.

1. my CSV file is always located in the same folder. Let's say update.csv located into temp folder.

2. i would like to get rid of the forms and just have a button to click on to update my store.

 

So the question is:

How do I transform this code into a single url which would be able to load /temp/update.csv?

 

<FORM ENCTYPE="multipart/form-data" ACTION="easypopulate.php" METHOD=POST>

<p>

<div align = "left">

<p><b>Import from Temp Dir (<? echo $tempdir; ?>)</b></p>

<p class="smallText">

<INPUT TYPE="text" name="localfile" size="50">

<input type="submit" name="buttoninsert" value="Update">

<br>

</p>

</div>

 

</form>

 

Thanks lots in advance.

Edited by LoLoL

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×