39,320 Topics

Member Avatar for
Member Avatar for sherif.sobhy.37

$name = $_POST['name']; $image = $_FILES['image']; $location = $_POST['location']; $category = $_POST['category']; $username = $_POST['username']; //$imageData =addslashes (file_get_contents($_FILES['image']['tmp_name'])); $imageData =addslashes (file_get_contents("http://zbatny.info/HOOT/amsek/prob/5.jpg")); $image =$_FILES['image']['name']; $type=$_FILES['image']['type']; $file_tmp=$_FILES['image']['tmp_name']; if(!is_writable("../../images/")) echo('You cannot upload to the specified directory, please CHMOD it to 777.'); if(move_uploaded_file($imageData,"../../images/".$image)) { //Tells you if its all ok echo "The file ". …

Member Avatar for Meir David
0
348
Member Avatar for zerey02

.guys i'm starting a new project. an online examination using PHP and an online database phpMyAdmin. .the exam is consisted of questions which can be answered by choosing one of the four answers. what i want to do is either use dropdown menu or multiple radioboxes when picking answers. of …

Member Avatar for krishnadaspc
0
178
Member Avatar for Maideen

hi. i have a problem in printing the report to printer. Now i can print the php reports, but it will open both printer dialog and page together. But I need only one to printer dialog box. Pls help me Below my code Connection database ` <?php try { $hostname …

Member Avatar for LastMitch
0
314
Member Avatar for Buppy

Hello, Is it possible to share cakePHP sessions (stored in the database) across subdomains? This thing - ini_set("session.cookie_domain", ".mydomain.com"); seems not to be working in this case. Thanks

Member Avatar for LastMitch
0
146
Member Avatar for davy_yg

Hi, I input data and picture using ckeditor yet the strange thing is after I save the picture, the picture turns to [x]. If I click right image-properties: Imagesimage.jpg (originally: Images\image.jpg). The slash button disappears. Why is it ?

Member Avatar for LastMitch
0
82
Member Avatar for logicaweb

Hello, I need advice about making a PHP form and MYSQL base. First, I'll give an example of what I trying to make: I'm trying to make a MYSQL base of products, then to make new base of ingredients and then to make php form for Add new products and …

Member Avatar for diafol
0
339
Member Avatar for nats01282

I have a online photo gallery and when you hover over a image an edit button appears that opens up a jquery prompt box in which you enter the caption after this has been entered i have the following code var caption=prompt("Please enter new caption"," "); if (caption!=null) { var …

Member Avatar for nats01282
0
235
Member Avatar for eburlea

Hi, all. I have a login form with a checkbox that needs to create cookies if checked. How is it possible to check after the form has been submitted if the checkbox has been checked? I have the following code in 'application/forms/Login.php': $remember = new Zend_Form_Element_Checkbox("remember", array('disableLoadDefaultDecorators' => true, 'required' …

Member Avatar for eburlea
0
203
Member Avatar for jeffadrian

I am using phpmyadmin on my computer and while I tried to update my data, the following happens " Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0 ". I tried to search " php.ini " on my computer, but I can't …

Member Avatar for jeffadrian
0
11K
Member Avatar for showman13

I have a strange occurence in a display and I'm wondering if it could have something to do with the formation of the query I have a table that contains shopping cart line items (called dealer_item), stored as the dealer adds them to the cart. This table currently holds 2 …

Member Avatar for iamthwee
0
129
Member Avatar for Dani

CodeIgniter error logging set to 1: /* |-------------------------------------------------------------------------- | Error Logging Threshold |-------------------------------------------------------------------------- | | If you have enabled error logging, you can set an error threshold to | determine what gets logged. Threshold options are: | You can enable error logging by setting a threshold over zero. The | …

Member Avatar for veedeoo
0
484
Member Avatar for ronaldpaul

Hi, I work in PHP language for the past 2.5 yrs. I'm interested in making a career shift from PHP to Java/EE. So, I would like to start contributing to some open source software developed using Java EE, Spring, Hibernate. By that way I would like to develop my skills …

Member Avatar for rubberman
0
309
Member Avatar for squeak24

Hey, I hope all is good in your World, and thank you for reading this. I am having a couple of issues with a bit of script, I struggling to see what is wrong. The script in question is: function date_diff($str_start, $str_end) { $defdate = $str_start ; $str_start = strtotime($str_start) …

Member Avatar for squeak24
0
602
Member Avatar for code_rum

Hi, I have imported a csv file but for some reason in some values the data after . is missing for e.g. If my value in csv is 0.5 it displays 0. and 5 went missing but in my csv file i have value as 0.5 I don't what step …

Member Avatar for code_rum
0
308
Member Avatar for Aadhya169

Hello Friends... How are you all ??? I need your help... I want to learn PHP so will you please tell me the best book to learn PHP from the beginning... Thank you in advance.. :)

Member Avatar for diafol
0
218
Member Avatar for rook0316

I have tried many different scripts I have found but cannot find one that does exactly what I am looking for. I have a table that has parts with multiple characteristics. Part Number, Height, Width, Capacity, Price, Etc. I would like to have a drop downs for all of these …

Member Avatar for pankaj12290
0
8K
Member Avatar for shweta.trivedi

How can i use voice inputing in php or HTML for all browser? i have used HTML 5 Speech Input,but it only supports Google Chrome browser.i want this functinality for all browse.is any one have solution for this?

Member Avatar for shweta.trivedi
0
160
Member Avatar for knutsford-soft

$header = "From: $From_Email\n"; $header .= "MIME-Version: 1.0\n"; $header .= "Content-Type: multipart/mixed; "; $header .= "boundary=$num\n"; $header .= "--$num\n"; # Define the message section $header .= "Content-Type: text/html\n"; $header .= "Content-Transfer-Encoding:8bit\n\n"; $header .= "$strMail\n"; $header .= "--$num\n"; # Define the attachment section $header .= "Content-Type: image/jpg; "; $header .= "name=\"Photo.jpg\"\n"; …

Member Avatar for knutsford-soft
0
168
Member Avatar for winbala5

Hi all, I want to share one link to tumblr and also i want to calculte the number of views, likes, posts, shares, followers. How i need to get this all give me any reference or possible ways tel to me.

Member Avatar for winbala5
0
193
Member Avatar for Dani

When testing a CAPTCHA, is it recommended to test that the IP address used to request the CAPTCHA is the same as that used to answer the CAPTCHA?? Is it a concern for people that have dynamic IP addresses that potentially could change pageview-to-pageview?

Member Avatar for LastMitch
0
100
Member Avatar for Nathyjoy

i need free online training on php, or any available book that can help anybody can help

Member Avatar for jalpesh_007
0
292
Member Avatar for ca_linddha

i try to create a Social Media Website, but i got some problem with my Update_Profil.. any body help me?? i thing $_SESSION doesn't work here or may be there is a mistake in my script.. --> i Success registered, then i logged in my account, but after this i …

Member Avatar for LastMitch
0
120
Member Avatar for joshi_6in

Dear sir or madam, I am Joshi Thomas, currently working as a system analyst with INSEAD Business School, Singapore. I have 8 years of work experience in developing and implementing Content Management Systems (CMS), Engineering Procurement Commissioning business systems (EPC), Commercial web applications, multilingual sites and SEO enabled websites using …

Member Avatar for joshi_6in
0
282
Member Avatar for pravaut

hi first time posting here but have learned a lot from this site my problem is my script display html tags here is what dispalys when i run my script ![431832741e23dc48f183316772bc6daf](/attachments/large/4/431832741e23dc48f183316772bc6daf.PNG "431832741e23dc48f183316772bc6daf") and my code as follows </div> <div> <button type="button" name="getdata" id="getdata">Get Data</button> </div> <div id="result_table"></div> <script type="text/javascript" language="javascript" …

Member Avatar for pravaut
0
606
Member Avatar for GlenRogers

Hi I take data from a html form to inseert to mysql, sometimes that data has single and double quotes in it. How do you get the quotes to be part of the string so i can add to mysql. Hers what I have, but this still gives me a …

Member Avatar for diafol
0
401
Member Avatar for Dani

How can I split a string by word? When I do `$words = preg_split('/\b\w+\b/', $message);` then the resulting array has the correct number of keys, but the array values are all blank?

Member Avatar for pritaeas
0
207
Member Avatar for henrimma

Im using a form which i create in PHP. First im getting two rows from the DB which i submit values to them using the form . Im using the same form for both of them. The values go into the DB ok but after some clicks the first row …

Member Avatar for chrishea
0
157
Member Avatar for abpierluissi

ok i have some code and i need to find out how to do a few things, first of all, i cant post it on here cause for some reason the snippet are wrong and im not sure how to go about swappin everything out so im going to post …

Member Avatar for The Diamonds
0
298
Member Avatar for irfath

Hello Guys! I need A help for Auto email Generation when A form is submitted. A email Should Send to the web site Admin or wotever from Who filled the form, Form Filled Details! Please Help Me I Tried Many Ways but Still couldnt.. Please Help. and form details are …

Member Avatar for irfath
0
206
Member Avatar for jLamp

Once, I've stoped Apache in XAMPP by using XAMPP Control Panel. Then, I've tried to start Apache. But it isn't starting. I've already closed Skype, TeamWeaver. :( Help me guys. I've to take so many backups in phpmyadmin :(

Member Avatar for veedeoo
0
315

The End.