39,393 Topics

Member Avatar for
Member Avatar for Diode

Hi, I'm making a website for a friend who sells sports memorabilia and I'm using a LAMP setup. I am making a menu that utilizes AJAX. The menu consists of a SELECT tag, we'll call this SELECT1, where the user clicks it, it drops down a list of leagues such …

Member Avatar for Diode
0
159
Member Avatar for dr4g

Hi there. All mail sent through the SMTP server, i need to modify the message being sent through. I already have a PHP script to send MIME emails with embedded images for HTML meails. What i need is a script to modify the message being sent to SMTP and return …

0
92
Member Avatar for webguru07

Hi, I am making a mailing program and the problem i'm having is that I want to display the message exactly as it is entered for example, when the sender presses enter for a new line the reciever see's it. I have thought of using <pre></pre> tags but if the …

Member Avatar for fenixZ
0
71
Member Avatar for CS Lover

Well, The main problem for any popular [ wide ] Images Hosting website .. is the bandwith ! and this problem can be solved with Multi-Server programming .. with PHP I have some ideas in my brain .. it's like : - administrator provides me with 2 - 3 servers …

Member Avatar for CS Lover
0
127
Member Avatar for ashu_2961989

This is a contact form php script which i got from some site. But when i uploaded to site, it shows " parse syntax error" . Its somewhere between line 30 to 35. Please review it and find ou the error. <?php $EmailFrom = "contact@test.com"; $EmailTo = "root@localhost"; $Subject = …

Member Avatar for ashu_2961989
0
85
Member Avatar for flashyflashy

Can we arrange a single table in two ways within a page .? I'm in a situation where I need to arrange a single table in two ways within a page, When I test the first piece it works ,even the second piece works great when tested alone, but when …

Member Avatar for Ole Raptor
0
79
Member Avatar for isomillennium

echo removes white spaces from the text and stored text shows up w/o line breaks .. How can i correct this ? When i view my db tables and contents in it using phpmyadmin, the text stored in them look normal .. the way i typed it .. but when …

Member Avatar for isomillennium
0
96
Member Avatar for iNc0g

Hello everyone, I have a photo album located in [url]www.myphotoalbum.com[/url] I uploaded a lot of photos and I was wondering if there's a way "downloading" or retrieving ALL of my photos to my pc since they're located on their server and I cant download them one by one by clicking …

Member Avatar for Ole Raptor
0
45
Member Avatar for Sheridan

I am trying to execute a mysql query of the form: [code=php] $query = "Select * from individuals where MotherId like '%".$iName."%' or FatherID like '%".$iName."%' "; [/code] I am getting an "unexpected FatherID" error message. FatherID is of course an attribue of the queried table. The query works as …

Member Avatar for somedude3488
0
54
Member Avatar for gurmukh

hi, my name is gurmukh singh . i am near about expert programmers of php ,mysql development. i deal with web development from last 5 years, Also certified Java programmer. i am very thankful to deniweb that is providing wonderful plateform of information sharing

Member Avatar for selfhelpebooks
0
30
Member Avatar for forwardlookguy

I've hit a new road block on my VIN decoder page. I want to echo something only if two variables are true. Here's what I want to do: if (($Series == "D") && ($ModelYear == "2")){ echo "Skylark"; } else { echo "This is not a valid Series"; } When …

Member Avatar for Ole Raptor
0
175
Member Avatar for mkerrigan

I am trying to only certain characters to be saved to the database from input of a textarea. The input is going to a variable called $vBody. What I have below works: [code]$vBodyCleaned = reg_replace('[^A-Za-z0-9~!@#$%&*()-_=+'|:;",./? ]','',$vBody);[/code] except for the fact that the client wants to preserve the line feeds and …

Member Avatar for ShawnCplus
0
87
Member Avatar for inshi

Hi, i have already uploaded a video file in the .avi format, but now am stuck. i don't how to proceed to be able to play the file.i have used the PHP language. it will be very nice if someone can help me.PLEASE.i think a sort of streaming has to …

Member Avatar for digital-ether
0
85
Member Avatar for razer.anthom

Hi all. I am having a weird problem with PHP sessions. I create a session but when I click a link inside my site, other session is created. To test it I copy this code below and tried to run in same environment (WAMP at localhost). The same behavior was …

Member Avatar for nav33n
0
222
Member Avatar for Phaelax

The first thing at the start of every page is "session_start()". Next, each page has the following code. The 'loggedIn' session variable was initialized to 0 with a require_once call of another script. When you log in, the page that did the check will show the login is successful, but …

Member Avatar for johnsquibb
0
153
Member Avatar for joker40

[B]Hi all of you , I just want to ask which programming language used in paypal website also its possible to make like this website in php ??? thanks all [/B]

Member Avatar for scorpionz
0
179
Member Avatar for helraizer

Hey folks, yet again. [code=php] if ($back == "m") //$back is a value pulled from a db; that works perfectly. { $wid = $rowing['width']; $hei = $rowing['height']; createthumb("660x240background2.gif", "./user/" . $user . "_back.gif", $wid, $hei); $image = imagecreatefromgif("./user/" . $user . "_back.gif"); $blue = ImageColorAllocate($image, 200, 200, 255); // prepare …

0
71
Member Avatar for Gentleman

Hello Forum , I am working on Windows XP SP3 ,I want to configure my PHP server accessible for our entire LAN cz I want to post and retrieve information to/ from my database being on any machine in our LAN. What configuration can I make?

Member Avatar for Gentleman
0
142
Member Avatar for chavdar79

Hi, all I'm a newbe in php My question is simple, but after 10 hours on the comp,I've got jammed Please help on the correct syntax of echo ("<a href... $ID[1]="Best Song" $url[1]="http://localhost/cat_music/BS.php" echo ("<a href='\".$url[1].'\">".$id[1]."</a>"); doesn't work Installed PHP 5.2.5 TIA

Member Avatar for TommyBs
0
87
Member Avatar for isomillennium

is there any way to get a form name from a page that the post or get variables sent from ? for example : $_POST['name'] , $_POST['password'] .. What would it be if you wanted the form name to be sent ?

Member Avatar for sDJh
0
104
Member Avatar for webwareshop

Hello All, I have a chat friend online who said to me that if I don't know java or .Net then my web design will not make me money. I know how to program in php, asp html etc and willing to learn more as knowledge has no age limit. …

Member Avatar for sDJh
0
127
Member Avatar for rickarro

I have a form that inputs data to a database. All is working fine, but what I'd like to do is when it gets to the [code] $result = mysql_query($query) or die ("Error in query: $query. ".mysql_error()); [/code] instead of the mysql_error, I want to display my own error with …

Member Avatar for rickarro
0
5K
Member Avatar for Cobs

How can I get live feeds(stock prices) from a stock exchange and attach the display in my website??

Member Avatar for Cobs
0
100
Member Avatar for yara1

hi [CODE] if (confirm ("are u sure "); { <?php mysql_query("INSERT INTO student ('id','name') VALUES ('1','osama'); ?> window.location='home.php';[/CODE] even if i chose cancel value will add to my data base why ??

Member Avatar for yara1
0
77
Member Avatar for kevin wood

[CODE]$time_diff = time() - $sent; $time_diff = intval($time_diff / 60); if($sent_mail < 30) { // in here is a page built will php which contains its own if statements }elseif ($time_dif >= 1) { mysql_query("Truncate table time"); mysql_query("Truncate table email_count"); echo '<META HTTP-EQUIV="Refresh" Content="0; URL=maillists.php">'; //should load page user wanted …

Member Avatar for kevin wood
0
60
Member Avatar for haggis365

I am trying to write an image as a tif file using php. It appears that i cant save an image as a tif using php - blimey is this correct?

Member Avatar for somedude3488
0
37
Member Avatar for sethupathi

I clearly explained my prob... My task is to upload the resumes in server..and displyed dem as link in a list box..i finished tat..if a user clicks tat link open/save dialog is open as default..but i don wann tat open/save dialog. ex: sundar_c++.doc santos_c++.doc If the user click the above …

Member Avatar for somedude3488
0
215
Member Avatar for dottomm

Hello - I'm new to inserting checkbox arrays into mysql tables. After scouring the web for two days I've found a solution using 'foreach', and it is inserting the data into the table correctly however I'm getting the following Error Notice. "Notice: Array to String conversion on page blah.php on …

Member Avatar for dottomm
0
206
Member Avatar for Suhacini

Hi, I want to make a site which compares prices of a product from different brands.I wanted have something like By Category, By Brand, By Store, Best Deal, Gift Deal.Do I need to create different tables?or is it enough if I create 1 table?Can you please tell me how to …

Member Avatar for Ole Raptor
0
127
Member Avatar for antwan1986

Hey everyone, I'm making a login system (in an attempt to advance my PHP knowledge). I've successfully made a system which registers the user (and uses md5 on their password), and also a login page which queries the database on the login info they supply (with the supplied password also …

Member Avatar for antwan1986
0
148

The End.