Search Webmaster Help and Solution

Undefined variable sessioncode in ..

E-mail Print PDF
Ive got an image verification code that doesnt seem to be working. It is returning a broken image so therefore isnt working . If I go directly to the script page i.e veryimage.php it gives me this error. Undefined variable: sessioncode in /www/verifyimage.php on line 8
Last Updated on Saturday, 21 August 2010 17:57
 

[RESOLVED] Create Colors based on # of Items

E-mail Print PDF
Preferably using PHP, Id like to create X number of colors based on X number of items and using a predefined color range. For example: ITEM -- VALUE 1 -- 1,234,567,890 2 -- 234,567,890 3 -- 34,567,890 4 -- 4,567,890 5 -- 567,890 Color Range red = largest val
Last Updated on Saturday, 21 August 2010 17:57
 

PHP script to create thumbnails for videos

E-mail Print PDF
Hi guys, I need your help in creating a video with thumbnails. What I want is that, if I upload a video it will create automatically a thumbnail picture for it. Im just new to php and I dont have any idea of this. I really need your help about this. Thank you in advanc
Last Updated on Saturday, 21 August 2010 17:57
 

generating data from database

E-mail Print PDF
Hi all, This is something related with php as well as java script. If anyone can help me regarding this issue i would be very pleased. In a particular form, i have 2 fields namely customer id and Account type. Since there are many account types it is stored as a jump m
Last Updated on Saturday, 21 August 2010 17:57
 

Adding Sticky Drop Down Date Selector to Form

E-mail Print PDF
Hello All, I have have been using a a basic skicky php form at my site for a few months. You can view it here. I want to update the form with sticky drop down date selectors to make it more user friendly. I created a test version and uploaded it here. The test version wo
Last Updated on Saturday, 21 August 2010 17:57
 

Getting every given day of a month

E-mail Print PDF
I am trying to make a function that would return all given days of a given month or a year. For instance I wanted to get all Mondays in a given month/year OR I wanted to get all Saturdays for a given month / year... Function would be something like: PHP Code:
Last Updated on Saturday, 21 August 2010 17:57
 

Mailing list archive solution?

E-mail Print PDF
Has anyone seen a really awesome PHP project that can make a searchable archive of a mailing list? Ill be googling myself but was kind of hoping for an experienced opinion on the matter. Ideally, the system would be a subscriber to the mailing list and when a new message
Last Updated on Saturday, 21 August 2010 17:57
 

Updating a record while displaying all changes to it.

E-mail Print PDF
I dont know if Im wording this right. I have a textarea that is entered into a database. When this is edited, I want to store and display a list of all the changes that have been made to it. Like a conversation in a forum. The reason for this is that I want past changes to
Last Updated on Saturday, 21 August 2010 17:57
 

[RESOLVED] Soap errors

E-mail Print PDF
One of my companys software vendors convinced me to let them develop a web service that would allow me to create records in our financial database. Their web service/commercial software is running on Server 2008. My web service client is running on Server 2008/XAMPP. At f
Last Updated on Saturday, 21 August 2010 17:57
 

Link Thumbnail

E-mail Print PDF
Hi, Im currently using this code as a Upload / Rename / Preview Thumbnail script. Could anyone help or tell me how to modify it so the output of the Thumbnail is linked to a larger image. Or is there any other script that can do this?. This is my Upload.php The
Last Updated on Saturday, 21 August 2010 17:57
 

Display x records, then refresh and display the next set

E-mail Print PDF
Hi All, I have a data table with 200 records. I want to dispaly the first 20 for around 30 seconds and the display the next 30 and so on until the last record is display. Then loop back to the start and display them again. Can anyone point me in the right direct
Last Updated on Saturday, 21 August 2010 17:57
 

A simple problem ... not so simple...

E-mail Print PDF
Okay...Ive literally spent over 12 hours working on this error and Im just absolutely stumped. It has to be something simple, but Ive tried so many combinations that I cant see the forest for the trees at this point. The goal: When a form is submitted, a new record shou
Last Updated on Saturday, 21 August 2010 17:57
 

[RESOLVED] Implode() going goofy or am I?

E-mail Print PDF
Trying to parse a fixed-width text file into an array for each line. All Im getting is an empty array with 10 empty elements when I should be getting an array with 10 arrays of 5 elements. Note: Im ignoring the last three columns. I also have to manipulate the $pn vari
Last Updated on Saturday, 21 August 2010 17:57
 

[RESOLVED] Got a problem with file_exists...

E-mail Print PDF
Why would this code print true if called before instantiating the CSVFixImport class: PHP Code: require(class.csv.php); // class file and test script are in webroot. echo (file_exists(file_uploads/KRN_080110.fle)?true:false); but when insta
Last Updated on Saturday, 21 August 2010 17:57
 

PHP Check If Word Exists, Then Echo Something Different

E-mail Print PDF
Hey there, Having trouble finding online a solution but I am... Looking for a chunk of code that will allow me to alter text queries from my database. Basically if my query contains the word Yes I want it to say No instead, Even though in the database it is stored a
Last Updated on Saturday, 21 August 2010 17:57
 

[RESOLVED] djpeg does not output file

E-mail Print PDF
OK, Moved to a new server and also set this script up on a godaddy server with the same results. Upload and resize and image and get 0k jpeg files when completed. netPbm and the libJpg libs are installed. After the file is posted, I can see the details of the file und
Last Updated on Saturday, 21 August 2010 17:57
 

Sorting Alpha and Numeric

E-mail Print PDF
Hi, I have a page that lists the names of the Artists in one column, and the title of their song in the next column. Ive included a sort section that allows users to view the artist (with the corresponding title) that starts with whatever letter they press. Ive now come t
Last Updated on Saturday, 21 August 2010 17:57
 

emailing users on click

E-mail Print PDF
Hi, I am creating an admin page that allows me to view requests for sheet music that is not currently on my website. (View image to get an idea of what were talking about). On this page are 6 columns. ID (autoincremented) This is the # the request is Userid - the use
Last Updated on Saturday, 21 August 2010 17:57
 

counting all values in column without creating a new column

E-mail Print PDF
Hi, I have downloads that are available for users. They can click the links to download the file. Once they do this, I have a query that updates the number of downloads that file has received. I need to create a query that adds up all the rows Total Downloads. So for e
Last Updated on Saturday, 21 August 2010 17:57
 

Help on cURL POST to remote page with javascript

E-mail Print PDF
Hi all, I am new here and I really thank God that I found this forum! I have read the materials here on working with cURL on javascript-form-submission pages. However, I cant to get my script to work. Can anybody here please help me out or drop me a hint on where to corre
Last Updated on Saturday, 21 August 2010 17:57
 

[RESOLVED] remove item from session array

E-mail Print PDF
hi i have a simple script that adds an item id to a session... <?php session_start(); $itemid = $_POST["itemid"]; if (count($_SESSION["cart"]) < 1) { $_SESSION["cartitems"] = array(); } $_SESSION["cart"][]
Last Updated on Saturday, 21 August 2010 17:57
 

HMVC Vs MVC with subdomains.

E-mail Print PDF
I am building a largeish well complicated application with Zend Framework now ive found the HMVC model makes managing this application pretty much childs play but my question relates to if it would be more efficient to instead of making each of the component applications(for
Last Updated on Saturday, 21 August 2010 17:57
 

replacing cookie in http header

E-mail Print PDF
I have an ajax app and a proxy php file. I need to create and insert a cookie at the proxy level before the request is sent on to the database server. AJAX(create and send parameters) > proxy.php(create cookie for authentication) > Database(on another server)
Last Updated on Saturday, 21 August 2010 17:57
 

[RESOLVED] need help with php update code

E-mail Print PDF
Noone seems to be able to figure out why this does not update my database records. It says "records updated" but they arent. The 5 records are there, the ids are unique and 2 of them should have been updated. At one time all records were updated but as Ive follo
Last Updated on Saturday, 21 August 2010 17:57
 

Collected solutions to common problems.

E-mail Print PDF
Salutations to the Forum, Quote: This thread is EXPERIMENTAL. The behaviour of this thread, the title of this thread, the contents of this thread, and this threads very existence may change without notice in future (in fact I hope it will. Exce
Last Updated on Saturday, 21 August 2010 17:57
 

Parse Error: syntax error

E-mail Print PDF
Ive just installed php5 on a new development machine. Apache and MySQL are working and a test of php with a simple phpinfo() works ok. I have transferred my php4 code to the new machine (I didnt expect it to work straight away, but I also didnt expect this error: P
Last Updated on Saturday, 21 August 2010 17:57
 

PHP Syntax Formatting

E-mail Print PDF
Hi everyone, Throughout this website (and others), I have noticed people posting code in an absolute mess. I have searched this site for a thread like this, and couldnt find one. So therefore i have devised a quick example of good ways to space your code using tabs,
Last Updated on Saturday, 21 August 2010 17:57
 
<< Start < Prev 1 2 3 Next > End >>

Page 3 of 3