1,135 Topics

Member Avatar for
Member Avatar for phoenix254

My problem is why this codes dont work. i want to upload image with hide input type file but doesnt work. here are my codes.. <form action="" method="post" enctype="multipart/form-data"> <div id ="settingmaincontainerright"> <input type="file" id="settingprofileimgfile" name ="settingprofileimgfile" > <input type="submit" id="settingprofileimgfilebutton" name="settingprofileimgfile" value="Choose Foto"> <input type="submit" id="settingprofileimgbutton" name="settingprofileimg" value="Upload Foto"> …

Member Avatar for JorgeM
0
164
Member Avatar for madmax9922

Hi have this code to manage my main page. Everything works fine on my local server at home,i'm using easyphp. But on my webhosting server i got this error: Warning: scandir(D:\Hosting\12067690\html/,D:\Hosting\12067690\html/) [function.scandir]: Access is denied. (code: 5) in D:\Hosting\12067690\html\index_menu.php on line 65 Any ideas? thank you in advance. <?php $dir …

Member Avatar for broj1
0
2K
Member Avatar for vizz

I have database 'website' having fields - title, url, snapshot to collect information of websites . Users will fillup the form so, There is no file input for fileupload. Form have inputs for title & url. How to generate snapshot using 'imagegrabwindow' or other php functions for given url? How …

Member Avatar for chrishea
0
158
Member Avatar for RikTelner

me@MYFIRSTNAME-Ubuntu:~$ cd ~/tux* me@MYFIRSTNAME-Ubuntu:~/tuxlol-0.1-dd62ba8-bin$ mono tuxlol.exe patch --dir "~/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Riot\ Games/League\ of\ Legends/" The specified directory is invalid. me@MYFIRSTNAME-Ubuntu:~/tuxlol-0.1-dd62ba8-bin$ ll total 384 drwxrwxr-x 2 me audio 4096 sep 29 2013 ./ drwx------ 27 me me 4096 apr 5 16:03 ../ -rw-rw-r-- 1 me me 84480 sep 15 2013 CommandLine.dll -rw-rw-r-- 1 …

Member Avatar for RikTelner
0
574
Member Avatar for Akshay_4

HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet execution threw an exception root cause java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/gridjet/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 …

Member Avatar for stultuske
0
362
Member Avatar for Kamal_6

hi, i am a begineer in php, i have written the below code to upload all file type except executable file (.exe file), but whenever i run it in web browser like mozzila it works for me but whenever i try it in google chrome it does not work i …

Member Avatar for cereal
0
137
Member Avatar for Kamal_6

Hi, i am a beginer in php, before few days back i learned about file uploading in php, but i tried a lot ot run the progarm in browser but it shows warning messesege : **Warning: POST Content-Length of 39895242 bytes exceeds the limit of 8388608 bytes in Unknown on …

Member Avatar for cereal
0
168
Member Avatar for phoenix254

I am trying to creating a website, i want to know which of these function is more secure to upload the image on database ? 1.) getimagesize 2.)get_file_contents 3.)cURL Thanks a lot!!!

Member Avatar for cereal
0
648
Member Avatar for phoenix254

if ($count == 1){ $suc= move_uploaded_file($file_tmp, $destin.$file_name); echo"<br/>"; $query = mysqli_query($con,"INSERT INTO login ( profile_img) VALUES ('$file_name') WHERE useremail='".$_SESSION["sess_useremail"]."'") or die("can t still upload ".mysql_error());}

Member Avatar for pritaeas
0
176
Member Avatar for coder91

Hi, for the project I am working on I have four folders all which have 650 xml files in them, I need to write a program that will take the first file from each of the folders and send them to a database where the results from the xml will …

Member Avatar for pritaeas
0
123
Member Avatar for Benny Adams

Can someone explain polymorphsm to me? Or upload a program that include polymorphm. Need some examples. Thanku

Member Avatar for DaveAmour
0
97
Member Avatar for showman13

Good Morning all, Hopefully someone can head me in the right direction. I know nothing about perl or cgi but have a script that I purchased and had modified by a programmer half way around the world. He uploaded it to my development domain and the script works just fine... …

Member Avatar for 2teez
0
325
Member Avatar for Papa_Don

Hi Group, I attempting to save a file to a specific folder that is begins with the hotels property number. Currently I've manually listed the properties complete folder name in a text file. This is proving to be a management problem that needs to be fixed. The code I'm using …

Member Avatar for Papa_Don
0
285
Member Avatar for andruluchko

Hello, I try to rename file or directory using JFileChooser() and JButton(). But it gives me a NullPointer exeption. I have FileChooser, Button and TextField where I write new name for my file or directory. Can you say where I go wrong and how to solve this problem. // button …

Member Avatar for mKorbel
0
1K
Member Avatar for vizz

With following code I tried to upload image and video file at the same time but, image file is uploading & video file is not uploading <form class="pure-form pure-form-aligned" action="Processor.php" method="post" enctype="multipart/form-data" > <fieldset> <div class="pure-control-group"> <label for="image">Upload image</label> <input type="file" name="image" class="pure-input-1-4" /> </div> <div class="pure-control-group"> <label for="video">Upload video</label> …

Member Avatar for jj.dcruz
0
1K
Member Avatar for Basit_2

Which Sub Directory Save Source Code Of A File And How Many Files Are Created After Compilling? Answer Me Plz, With Details.

Member Avatar for misi
0
199
Member Avatar for Samerases

hello every body...... How I can make some user account in active directory server 2008 that be login in one pc, not many PCs in same time, if he want login in another PC in another place in same network in my institution must be logoff from the first PC …

Member Avatar for jean122
0
284
Member Avatar for raul2329

Warning: require_once(EzOptions.php): failed to open stream: No such file or directory in /home/u206897974/public_html/wp-content/plugins/easy-adsense-lite/easy-adsense-lite.php on line 38 Fatal error: require_once(): Failed opening required 'EzOptions.php' (include_path='.:/usr/lib/php') in /home/u206897974/public_html/wp-content/plugins/easy-adsense-lite/easy-adsense-lite.php on line 38

Member Avatar for edbr
0
140
Member Avatar for phoenix254

i am trying to create a site, when user create his account then make automatic his directory with his name. when he wants to upload his photos, these photos go automatic in his folder or directory. im my register page i have added these lines: $addtothedb="INSERT INTO login (firstname,lastname,useremail,password,Gender,Dateofbirth) VALUES …

Member Avatar for phoenix254
0
528
Member Avatar for uchejava

I am trying to save 2 photos to my MySQL database. I can only see one of the 2 photos in the database (i.e. its name) but I see the 2 photos in the folder I store my photos. ( A picture of how the database looks like is attached.) …

Member Avatar for amith_ami
0
203
Member Avatar for Manoj_14

Hi, I wanted to open files of php on my ubuntu. I installed xampp, then configured /opt/lampp/etc/httpd.conf file. The cahnges I maded were to change directory root. But now when I open localhost, it tells me access denied.

Member Avatar for Heanre
0
157
Member Avatar for davy_yg

Hello, I am looking for ckeditor that's able to upload image from computer directly without url - unfortunately there is license on it. What about tinymce also works the same way. I do not know how to make ckeditor my own version that's able to upload file directly from computer. …

Member Avatar for davy_yg
0
303
Member Avatar for TMLAH

Hello, I have a script that allows user to upload a file to a mysql 5 database. That is working OK. The File size is accurate. However, my download script is for some reason downloading the files without any content - 0KB. The files are OK when I open them …

Member Avatar for abhisheklnt
0
6K
Member Avatar for ryan.legow

So I am trying to make my own version of chmod using C, the modifications are to make lowercase add permissions while uppercase remove permissions (instead of using + or - to add and remove). Also, I am trying to print a help message and exit if the command cannot …

Member Avatar for ryan.legow
0
266
Member Avatar for rosario1990

Hello all, I know seo and backlinks. But in off page all method aren't clear to me. I know how to create backlink onto social, directory, forum, blog, article as well but I want to learn about Web 2.0. Can anyone help me to learn this. Thanks for your help!

Member Avatar for Hulk_1
0
268
Member Avatar for DaveAmour

I get an errror when trying to upload a profile photo. The upload destination folder does not appear to be writable.

Member Avatar for DaveAmour
0
150
Member Avatar for Robert_30

I have a dropdown list populated with files pulled from a directory using the PHP listed below that then gets displayed onto a form and am trying to figure out how I can delete them using a delete button in the form when they're selected and displayed. <input type="hidden" name="Action" …

Member Avatar for diafol
0
402
Member Avatar for fantyfiz

I write a code in html and want to create button that upload a file.I use the following code but it show button name choose files but i want the button show browse as display name kindly guide Filename: <input type="file" name="uploadFile" value="Browse">

Member Avatar for Kumar_K_K
0
208
Member Avatar for radu.campian

I need to create a form in php and mysql in which it will create a table on a default set database for example "ramgest" and i want it to be only one text field with table name and one file upload which will get the imported .csv into the …

Member Avatar for urtrivedi
0
250
Member Avatar for toplisek

I have tested many times Which browser and read instructions. It seems there are missing points at main app page: https://github.com/WhichBrowser/WhichBrowser Author: Niels Leenheer I have checked again and a little bit confused as this is the first time. 1. It will be under public_html 2. Cron job will update …

0
117

The End.