Jump to content

Recommended Posts

Hi, this must be an easy one...

I've made an FTP-admin page in Dreamweaver and php that contains a insert record server behavior which works just fine. But in one of the fields users must enter a directory which always starts with /home/ftp/ and ends with the username like, /home/ftp/user. But I want to make this a bit more simple by adding a default string or whatever you call it (I'm a newbie). So that users only have to enter their home directory and not the hole directory tree.

The code for the homedir looks like this now where 'homedir' is a field in my mysql database.

GetSQLValueString($_POST['homedir'], "text"));

Any ideas?
Link to comment
https://forums.phpfreaks.com/topic/7726-post-extra-string-value/
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.