I have a form to pass info to an upload script which has stopped working since my host moved their servers:
<form method="post" action="insert.php" enctype="multipart/form-data">
This now produces an error like so:
Warning: fopen("", "r") - Success in /home/my_domain/data/coaches/admin/do_insert.php on line 107
Warning: stat failed for (errno=2 - No such file or directory) in /home/my_domain/data/coaches/admin/do_insert.php on line 107
Warning: Supplied argument is not a valid File-Handle resource in /home/my_domain/data/coaches/admin/do_insert.php on line 107
NO VARIABLES get passed to the do_insert script.
However, if i remove the - enctype="multipart/form-data" - portion of the form, all variables get passed ok but then I get this error:
Warning: fopen("C:\My Documents\saved web pictures\megane1.jpg", "r") - No such file or directory in /home/my_domain/data/coaches/admin/do_insert.php on line 107
I really am tearing my hair out (whats left of it!)
Hope someome knows I can do.
Thanks All