39,393 Topics

Member Avatar for
Member Avatar for okonjiaustin

I have successfully uploaded image to mysql database using a form: This is the code: <?php $errmsg = ""; if (! @mysql_connect("localhost","root","")) { $errmsg = "Cannot connect to database"; } @mysql_select_db("adim"); if(isset($_REQUEST)) { $imgtype=$_FILES; $name=$_REQUEST; $address=$_REQUEST; $dateofbirth=$_REQUEST; if($imgtype=="image/jpeg" || $imgtype=="image/jpg" || $imgtype=="image/pjpeg" || $imgtype=="image/gif" || $imgtype=="image/x-png" || $imgtype=="image/bmp") { $image=$_FILES; …

Member Avatar for nav33n
0
177
Member Avatar for Auzzie

Hi i'm currently making a highly modular forum in PHP and i'm running into a slight problem with an error handler that i have started on and it has been stumping me, any help would be very much appreciated.

Member Avatar for nav33n
0
66
Member Avatar for rojakc

Hello everyone I am developing an application in which , i wrote the code for a pop up confirmation box in javascript, & when it presees ok , i want to call a PHP file from javascript......tried but not working......if anybody can help, would be great...... roja.

Member Avatar for katarey
0
2K
Member Avatar for Nick Evan

I have a problem with session in combination with DNS. I use have a webpage where some areas are restricted. So I use a log-in screen which sets the session username and writes the sessionid in a DB. When you try to access a restricted page, a script checks if …

Member Avatar for Nick Evan
0
127
Member Avatar for manzoor

Hi I need to create c++ help website in which I'll add tutorials and snippets So what do I need to learn to let the users add their own snippets and tutorials also add a phpbb forum a webbsite like Daniweb or dreamincode.net help please

Member Avatar for techniner
0
56
Member Avatar for htcorp

I work with joomla and i want to build a module for tourism field. Anyone have a relative module ?

Member Avatar for lokeshsinghjado
0
120
Member Avatar for Dani

How can I invoke a shell script with parameters from within a PHP script? For example, from within my web-based PHP script, I want to execute the command "/home/cscgal/script.sh -f foo"

Member Avatar for carobee
0
176
Member Avatar for justted

Hello everyone, I am developing a virtual pet site that is based on PHP, CSS and MySQL. I am currently learning PHP and MySQL myself but require some genius minds to help me develop my community and ideas ready for a big launch in March/April. [B]Things I require help with …

Member Avatar for Vai
0
87
Member Avatar for justted

Hello everyone and happy christmas, I have a virtual pet website which has multiple level users, or if you like, different ranks from 1 - 10. 1 is suspended and 10 is master admin. I have worked out how to give access to an admin page for users with the …

Member Avatar for justted
0
171
Member Avatar for gopi kannan

i have wamp server 2.0...iam new user of php..i wrote my script in notepad and saved it in the directory i created in www folder with extension php..but when i tried to run my script using wamp..the script file is with extension .php.txt and the server just displays my entire …

Member Avatar for richie513
0
285
Member Avatar for jino

Dear All,, My php page having a search query is not displaying the result when it is loaded... But when i check this same query in php my admin it is working correctly... for ex: If i search with the field "Marital Status" Single... There are totol 3 records having …

Member Avatar for nav33n
0
134
Member Avatar for lydia21

hi in this app i have three pages from the first page id is passed to the second page.in the third page i am not able to get the value.............. [ICODE] if (mysql_num_rows($result) > 0 ) { while($row = mysql_fetch_row($result)) { echo "<tr>"; echo "<td><a href='detailjob.php?id=".$row[3]."'>".$row[0]."</td><td>".$row[1]."</td>"; echo "</tr>"; echo "<tr><td …

Member Avatar for lydia21
0
101
Member Avatar for dami06

Hi, I have tried creating a webpage but when i click on one of my links it gives me this ?> DATABASE ERROR Connecting to server ::<NO SERVER> What does this mean because i have checked my database and everything seems to be fine..

Member Avatar for richie513
0
82
Member Avatar for gopi kannan

i downloaded e-novative wamp server from the net and installed it...i tried to run my script...but i cannot get the output..it just displays the code which i typed in the notepad...i stored my script coding in www folder in wamp...can anyone guide me ..

Member Avatar for carobee
0
97
Member Avatar for carobee

how do i increase the size of file upload?. i have changed the value of upload_max_size to 300M and post_max_size=600M in php.ini and restarted the apache server. running php.info script i still get 2M to be the upload_max_size.now when i run my uploading script and try to upload file a …

Member Avatar for carobee
0
602
Member Avatar for carobee

hi, i have written a php script for uploading files into linux server. but when i try to run that script i get "UPLOAD_ERR_NO_TMP_DIR ". i even tried to changing upload_tmp_dir directive in php.ini and giving it a path to one of my created folders but it seems nothing is …

Member Avatar for nav33n
0
8K
Member Avatar for Boat_2005

Until Microsoft released their security update to IE, I used an html form for the user to input his/her username/password which was passed to ‘username: [email]password@www.domain.com[/email]/restricted_directory’. The IE patch now restricts this. When AuthUserFile is in my .htaccess file and I try to access a restricted file, the browser brings …

Member Avatar for midget
0
3K
Member Avatar for 1username1

I bought this website script from someone, it is a website that has free graphics for a popular social networking website. Since I do not know PHP/MYSQL I do not know how to upload my own layouts, graphics, etc, to my website. So I want someone to help me create …

Member Avatar for lokeshsinghjado
0
80
Member Avatar for Morty222

Can someone please take a look at this and help me do one thing? I am uploading images to a directory and updating the users record with the photo they upload. Problem is, I could have someone upload a photo with the same name as a photo that is already …

Member Avatar for coffeepot!
0
150
Member Avatar for OmniX

Hi everyone This is sorta an open question. I have a message systems that allows any third party person to send messages to the administrators and is done via mysql. There is no real problem now but I was told what if someone wanted to abuse the system and bombard …

Member Avatar for OmniX
0
94
Member Avatar for johnr

Hi, I'm very new to PHP. Any help is appreciated. I wrote a script that should create a flat file and store information in the flat file that was entered in a form on an earlier page. The script runs successfully and with no errors, and creates the file with …

Member Avatar for johnsquibb
0
123
Member Avatar for Morfeus

hi i have been lookin in the net but i can t found anything help me. i want to sell Vodafone Code in my website like this page [url]http://networkcodes.co.uk/getcodes.php[/url] for exemple and i email user back with code after payment done via card credit or paypal its possible to do …

Member Avatar for johnsquibb
0
131
Member Avatar for keynan_toht17
Member Avatar for richie513
0
43
Member Avatar for isomillennium

Hey my name's izzy and i have been around the web designing game for a while and i was trying to figure out how we can get the explode function to support javascript in a web page when splitting .. here's the code : <? function snp($str_to_look_for, $str_to_stop_at, $html) { …

Member Avatar for nav33n
0
146
Member Avatar for lydia21

1. $q="Select SQL_CALC_FOUND_ROWS * from post_resume where ind_type='$industype' and career='$careerlevel' limit $cps, $rpp"; 2.$q="Select SQL_CALC_FOUND_ROWS * from post_resume limit $cps, $rpp"; hi i am doing paging in php.the first query is not working.the second one is not working........please do tell me the error. [CODE=php] <html> <head> <title>Record Set Paging with …

Member Avatar for lydia21
0
84
Member Avatar for dalefish

Ok, I've had enough of looking at the same piece of code now. Someone please enlighten me as to what simple bloody thing it is I'm missing: [code=php] $pp2 = $_REQUEST["pp"]; $io2 = $_REQUEST["io"]; $sn2 = $_REQUEST["sn"]; $re2 = $_REQUEST["re"]; $sd2 = $_REQUEST["sd"]; $ed2 = $_REQUEST["ed"]; $dp2 = $_REQUEST["dp"]; $rn2 …

Member Avatar for nav33n
0
456
Member Avatar for Morty222

I spit out 4 photos across the screen, then I want to start a new row of the next 4 photos, then so on until done. This works fine expcet the first row shows only 3, then it goes to 4 across. Can someone help? <?php $ln = $_POST['lastname']; $ps …

Member Avatar for nav33n
0
100
Member Avatar for werks

Hello PHP experts how can you detect [B]'[/B] character in your search field? Because every time I input the word [B]hilgard's[/B] it returns an error I think because of the character [B]'[/B]. This is the error [CODE=php] Warning: odbc_exec() [function.odbc-exec]: SQL error: [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) …

Member Avatar for werks
0
92
Member Avatar for Rmontague

I am humbly requesting your opinions in an issue that is driving me crazy... I currently maintain a few "Financial" websites. This sites are simply used to display stock data from the day before. We get the prices in an Excel sheet. Is there a way to parse the spreadsheet's …

Member Avatar for ashneet
0
67
Member Avatar for VanPetrol

Hi, I will be making a small site (my first in php) that will be available in 3 languages (eng, jap, chinese). my idea is to have index.php page in the root, and then (also in the root) 3 folders (en, ja, zh) with a version for the site in …

Member Avatar for nlso
0
105

The End.