passing url variable and mkdir
Posted 19 October 2006 - 02:44 AM
here is the error i get when i try this
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/immersiv/public_html/holland/admin/edit.php on line 209
if i take out the variable and insert a regular name it works fine. ie
i am using sephiroth php upload dreamweaver extension to allow users to upload photos. So i want to dynamically assign the folder upload path to the same one that was just created with mkdir. ie
define("DESTINATION_FOLDER", "/home/immersiv/public_html/$row_Recordset1['id']/"); am i going to have the same problem that i am having with the mkdir function?
If i am going about this totally wrong then please let me know. Do I just need to declare a variable above the mkdir script?
Posted 19 October 2006 - 02:47 AM
mkdir("/home/immersiv/public_html/holland/admin/".$row_Recordset1['id']." ", 0777);
((EMAIL CODE THAT WORKS))
((PAYPAL INTEGRATION THAT WORKS))
Posted 19 October 2006 - 08:53 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users