39,323 Topics
| |
What are the differences between Zend PHP Studio and Eclipse for PHP Developers? Why pay for Zend Studio when Eclipse is free? | |
This may be impossible, but I thought I'd give it a shot. I'm using PDO to fetch data from the DB, and use the PDO::FETCH_INTO approach to populate an existing Object (think ORM). What I'm wondering is if I can turn an object into an array of objects of the … | |
I am trying to create a file upload form on a website and am getting the error: Notice: Undefined index: My code is: [CODE=php] <?php session_start(); if (isset($_GET['submitted'])){ print_r($_FILES); $displayName = $_GET['displayName']; //file name is name of user who uploaded-date-time ie awestove-20100901-0800 $fileName = $_GET['username']."-".date('Ymd-Hi'); $origFileName = $_FILES['fileChooser']['name']; $ext = … | |
I am trying to send mail for "Tell a friend" link in my website. I am using Gmail's SMTP Connection settings as Mail() is not working properly for my web host. In the code i am giving my username & password so send mail via my mailbox. But is it … | |
Hi all, I'm a C developer, familiar Java, C++, C# . I'm into PHP now. Trying to find a good material, I read several which served PHP in do-this-do-that manner. I'm looking for a good book about PHP as a programming language. I mean, for example, really explaining the typing … | |
I exactly want to integrate a GPS API that can work when the website is opened from a mobile, and we can get the latitude and longitude of a place by using that API which can taken as a input from user of that place where he is ???……!!! Anybody … | |
Hi! Sorry for my bad english. I have one video. I want to make page that will display this video (like youtube), but I don't know how. In youtube there is a original page with video (I think, made with 'header(Content:application/x-shockwave-flash objekt)'). I want to make that too. But I … | |
Hi, the problem i'm having is with the following code. When the user clicks the submit button with any errors it displays the section I've marked out. But it positions this at the very top of my form, pushing evverything down. Is there a way to get this error information … | |
This is a keyword search script for one table only (pages). i need this search on 2 tables (pages and services) with one result set at the end to echo to the page. Can anyone help me? I have been trying to find a solution for 2 days - it … | |
Hi, Is there any scripts that would logout a user if they were already logged in with that username and password? many thanks | |
I need to select customer column my database and then insert this into a session so i can use it in the other pages of my site but nothing im doing seems to work, any ideas [CODE] <?php session_start(); include("Connections/database.php"); ?> <?php /** * Checks whether or not the given … | |
I am trying to split up the registration form into two php pages. Is it possible for the second page to submit its form along with the $_post which contains the information from the first page? well the question should be.. is there a function in php which will bind … | |
I have a blog,where I post a lot of songs,and I'd love if somebody could help me implement some sort of script in my blog. Is it possible,that whenever I want to post a zippyshare link,the script automatically converts it into a embedded media player? This is some source code … | |
i have been building a web site of late but the login page has given me hectic coz it s giving me an error which i dont understand please help me with the correct codes am using dream weaver and wamp server. will highly appreciate. | |
hey well i have a drop down menu or four that collects the day, month, year and number of nights spent over. i'm havin difficulty caluclating the departure date with all this info. can anyone help me??? | |
is it possible to use a vaiable within the date() insted of using y-m-d. i want to use $day-$month-$year | |
I have the following code section that is used for displaying a list of items and would like to modify it so it displays as a multi column display. I have been told that I need to use a counter, but I cannot find any information on how to do … | |
I want to create a php web page to uload a file on web site.I want, when a user browse the file and click upload then the file should upload on web site and the script will generate the encoded url to download the uploaded file, or any other way … | |
Hi, I need to get the itemId's from the Database to a combo box where the combo box will increase according to the new values. I wrote a code like this [code] <select name="catId"> <?php //get category id from the database $sql = "SELECT cat_id FROM tbl_category ORDER BY cat_id"; … | |
I use a couple of functions to which I have to pass the name of the mysqli connection in order to fetch some data. Is it safe to use a global variable for the mysqli connection to skip passing the connection name to the functions? | |
I want to upload and store images in MySQL database, but have no idea. Please help me out? Thank you | |
Hi, I just want to share this function to you that can split an array and return it and formatted as: 'element1','element2' etc. This is useful in your WHERE clause particulary if you are using IN e.g. select id, lastname, firstname from farmers_table where id in ([B]'3408', '1223'[/B]); The BOLD … | |
Having a problem with updating a picture.I need to replace the current picture in the DB by allowing the users to browse a picture and uploading it.And if the user did not upload any image I need to keep the current picture as it is. I wrote something like this,but … | |
Hi All, The basis of this project is that I have an album of pictures, where you can add and delete pictures. What I wanted to do, was when you delete a picture, have the rest of the pictures move down to fill in the gap. The database is set … | |
Hi all I have the following script 99.9% working for uploading a single image to a database - Storing the file in a folder and placing a link to the file in the database - The only problem im having now is when the image is uploaded the extension of … | |
I want to read the content of a .rtf or .doc files and display the file content as html output in a webpage. Need to extract some of part of the content also, like name, surname. mobile etc.... Anybody have the script to process .rtf or .doc files into html. … | |
good day! i'm a newbie in php. but i know the basic things like what is server side and what is client side. my question is is it "OK" if i place a php script (which is a server side) in the page that my client views? i dont know … | |
After weeks of getting a javascript to work the way I want it to, I am informed by the company that hosts my web sites that they want more money for me to have the .js file functional on the server. I am not a coder, nor do I have … | |
Hi! I'd like to show the ads on my page only to visitors coming from search engines. I'm looking for a php script that can do the trick - if lucky and I'll find it, I'll integrate it in my page. If you know of such thing or how to … | |
Hello again everyone.. I have a form with an e-mail input. After the user enters their e-mail, I want to have the content of the form sent to them... The name of the form textfield for the e-mail is "email". How could I make this happen in the php script?? … |
The End.