39,323 Topics

Member Avatar for
Member Avatar for BigDan531

[code] <?php session_start(); header("Content-type: image/png"); $img_handle = imageCreateFromPNG("bg2.PNG"); $q = rand(1,255); $w = rand(1,255); $e = rand(1,255); $r = rand(1,255); $t = rand(1,255); $y = rand(1,255); $u = rand(1,255); $i = rand(1,255); $color[0] = ImageColorAllocate ($img_handle, $q, 0, 100); $color[1] = ImageColorAllocate ($img_handle, 200, 0, 0); $color[2] = ImageColorAllocate ($img_handle, …

Member Avatar for Menster
0
96
Member Avatar for slyme

Sorry to all if this is in the wrong forum, I'll move it if someone tells me where it should go. I saw another poster discussing some files stored above the root ... well here's what was posted: "I have a script which generates invoices as PDF files and stores …

Member Avatar for slyme
0
408
Member Avatar for coolest_987

Hi My php version is php4.4.0 and GD is not showing in phpinfo even i installed gd extension. Any Help will be deeply appreciated. Thanks in advance

Member Avatar for cwarn23
0
190
Member Avatar for grr

Is it possible in any way to modify the wordpress permalink structures so that you can create a page using a script to find the page? Example: You want to make a page on [url]http://www.yoursite.com/1/2/3/4/post[/url] or whatever... You don't want to use wordpress's the_post function to display the data. Instead, …

Member Avatar for grr
0
88
Member Avatar for chand.

Its sure that you know about the flash flip books. I have the problem with that. Ok the scenario is about to have the tabs or buttons we can say which are alongside on the right of the book and we can use them to navigate the pages using the …

0
59
Member Avatar for Designer_101

Hi Lets say i have just sent a query to my database and its bought me back a value. I've stored this value in $value1 . How would i get this value into a flash movie ? Any help would be greatly appreciated.

Member Avatar for chand.
0
108
Member Avatar for Gearspro

Hello everyone, seems i need to start taking classes with web development :( But until then i was wondering if you could help. The last day or so i've been trying to set up a bridge which allows elitegamingladders and vbulletin to merge. Luckily enough, the website i purchased the …

0
53
Member Avatar for xuexue

the program works with localhost, however, when i use the same program in my web server, it does not work, the error says: Error Uploading file, this is the code [code] $phType = $_POST['phType']; $phCustomer = $_POST['phCustomer']; $phModel = $_POST['phModel']; $phStatus = $_POST['phStatus']; $phDateDue = $_POST['phDateDue']; $phStatus = $_POST['phStatus']; $phNG …

0
86
Member Avatar for BlackPhoenix

Hi, Is it possible to have Flash query a MySQL database, retrieve the data, and then do whatever it wants with the data (stored in a variable, or displayed to the screen in a text box perhaps) ? Is it challenging? If I can achieve this, I could perform a …

0
43
Member Avatar for nihilnovi

So been sitting with this problem all week, can't figure it out. Need to make a automatic parser that converts xml in this format: <?xml version="1.0" encoding="UTF-8" ?> <open_marine version="1.7" language="english" origin="Companyname" date="ISO 8601 1250016600"> <broker code="MIB"> <broker_details> <company_name>Company name</company_name> </broker_details> <offices> <office id="1"> <office_name>Moore International</office_name> <email>mail@mail.com</email> <name > <title …

0
29
Member Avatar for tom_naza

Hi all, greetings from Portugal. I know, there is a "Supplied argument not valid resource" FAQ, and I know there are allready a few threads about this, but after reading them and hours of changing code I still have my problem... (Yes, I'm a newbie :-) ) [U][B]Warning:[/B] mysql_num_rows(): supplied …

Member Avatar for slyme
0
150
Member Avatar for teajay99

Hi Guys, I'm afraid i am a complete novice when it comes to XML but know PHP pretty well. I have a form located here.. [URL="http://clientel-transit.co.uk/life-assurance/mortgage-protection.php"]http://clientel-transit.co.uk/life-assurance/mortgage-protection.php[/URL] which sends values to a third party server and returns the quote values in XML. I have also been sent the following file available …

Member Avatar for Bojero
0
60
Member Avatar for Hillary12

I have a form that outputs data to a mail but the checkboxes output nothing.This is my php code. Any help please [code=php]<html> <head> <title>Palm Safaris and Logistics:Bookings</title> <meta http-equiv="refresh" content="2; URL=http://www.palmsafaris.com/booking/bookings.shtml"> <meta name="keywords" content="automatic redirection"> </head> <body> <?php /*$game_viewing='unchecked'; $gorilla_trekking='unchecked'; $chimp_trekking='unchecked'; $hiking='unchecked'; $mt_climb ='unchecked'; $water_rafting='unchecked'; $Cultural_tour='unchecked'; $murchison_falls_NP='unchecked'; $QE_NP='unchecked'; $bwindi_forest='unchecked'; …

Member Avatar for slyme
0
82
Member Avatar for veledrom

Hi, i wanted to remove .php and place / but, it doesnt work. I get "500 Internal Server Error" message. [code] RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^([^/]+)/$ $1.php # Forces a trailing slash to be added RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$ RewriteRule …

Member Avatar for veledrom
0
84
Member Avatar for gagan22

HI all, I am working on webdirectory in php. There are many links of many websites. Now i want to make that when any one take cursor on that link then it should show a thumbnaill of that website or snapshot of that website. I want to do that . …

Member Avatar for pritaeas
0
143
Member Avatar for thegreatdanton

Hi, i'm wondering how do i convert a TIMEDIFF to a string? Basically i have a database with a "tomorrow time" (timestamp + 24 hours) in it, which shows the time 24 hours from the exact time that the data enters the database. I have the "time left" printing out …

Member Avatar for blocblue
0
84
Member Avatar for aerliana

i need to count how many user that update their profile n how many user not update their profile within 5 years. and if the user not update their profile then i need send an email as alert notification.

Member Avatar for almostbob
0
114
Member Avatar for johny321

I am new to PHP & i am looking to develop a site using php can any one help me

Member Avatar for plut0564
0
111
Member Avatar for mrcniceguy

i want to know,how is it possible to check automatic all the checkboxes generated in php while page loading. i mean if the are for example 20records then all to be checked.

Member Avatar for mrcniceguy
0
92
Member Avatar for harinatha.php
Member Avatar for harinatha.php
0
49
Member Avatar for agrophobic

G'Day, the following code works as intended but on the first load of the page a syntax error occurs: [I](You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where Suburb =' at line 1)[/I] …

Member Avatar for Graphix
0
246
Member Avatar for BigDan531

Hi guys ive got a problem with my mail() function. [code] if(mail('$email', 'test', 'test message')) { echo('ok'); } else { echo('not ok'); } [/code] im trying to test this out. ive tried manually inputting the email e.g. [email]12345@hotmail.com[/email] the email is sent and i can receive it. However, when i …

Member Avatar for BigDan531
0
282
Member Avatar for dweddi

Hello, I am trying out to construct a performance monitoring system (par tof my project at college), I am now trying to create the pages for reports and wish to refine even further with a reporting tool that can display for me performance of staff in a newsroom. I am …

Member Avatar for dweddi
0
152
Member Avatar for mundetas

Can someone please help. I have a rollover image and when you click it takes you to a page. But I want it to remain on the same page. I want it to display data from a db. But should appear on the same page where the button is. So …

Member Avatar for Menster
0
133
Member Avatar for vanessia_1999

I am busting my brain with this. It seem simple I tried it a few ways and it is not working how I want it. I would like for example the return policy document to be in the main content box of my page only when a person click on …

Member Avatar for pritaeas
0
193
Member Avatar for david777

hey how do i start learning PHP??? RESOURCES DONT KNO plz comment thankss

Member Avatar for jay_412
0
83
Member Avatar for balagod

Hai, I want to read excel file and store the data into mysql. my excel file contains special symbols like ∫,Ω,√ ... (all physics formulas). I used phpexcelreader from pear.but this symbols are not reading correctly. it shows as rectangle box. please provide a solution for this to resolve.

Member Avatar for balagod
0
91
Member Avatar for otakua

So Im editing a page on my site, and I tried to edit a code, because I got an error... cant remember what it is right now, but anyways, I changed it and got another error, something about unexpected T_DNUMBER? Well I decided to change it back, and now I'm …

Member Avatar for cwarn23
0
154
Member Avatar for Gearspro

Hello again daniwebbers ;) Wondering if you could help me out. I've been having alot of trouble trying to get a Bookmark us in the header section of my vbulletin forums. Theres an image of what i would like to do, down below in the file attachment section. If someone …

Member Avatar for Gearspro
0
126
Member Avatar for trtcom1

Hi there, I have 3 tables: Student ([B]studentNum,firstName,lastName,CourseName)[/B], course ([B]courseID,courseTotalCapacity[/B]), course_allocation ([B]studentNum,courseID[/B]). I have 3 courses, MATHS=101,BIOLOGY=102,CHEMISTRY=103. My form has the following: [CODE=html]<SELECT NAME="CourseName"> <OPTION VALUE="MATHS">MATHS</OPTION> <OPTION VALUE="BIOLOGY">BIOLOGY</OPTION> <OPTION VALUE="CHEMISTRY">CHEMISTRY</OPTION> </SELECT></td></tr> <SELECT NAME="courseID"> <OPTION VALUE="101">MATHS=101</OPTION> <OPTION VALUE="102">BIOLOGY=102</OPTION> <OPTION VALUE="103">CHEMISTRY=103</OPTION> </SELECT> [/CODE] I would like to have some kind of a …

Member Avatar for trtcom1
0
129

The End.