38,019 Topics

Member Avatar for
Member Avatar for ashishjha54

hello, today i visited the source code section of daniweb and i was amazed to see that codes inside text box were colored according to their syntax.here is the url of the page. [URL=http://www.daniweb.com/code/snippet25.html]http://www.daniweb.com/code/snippet25.html[/URL] in which language this is coded .can i do this in php .can anybody provide me …

Member Avatar for ashishjha54
0
258
Member Avatar for cputek2k

I bought a book called PHP/MySQL Programming for the absolute beginner by Andy Harris, Premier Press. This book is great for a beginner. It walks you through a refresher on HTML and then goes step by step into PHP and MySQL. Great examples and VERY challenging "homework" assignments. Great for …

0
91
Member Avatar for wood1e

Hi, I have installed PHP4 with MySQL4 and APAche2. Apparantly with an API client 3.23.49 I need to upgrade as MySQL is on 48 bit password and not 16...I keep getting " mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in..." How do I …

0
68
Member Avatar for fsn812

When attempting to compile PHP 5.0.4 with MySQL 4.0, I received some strange errors from attempting to use --with-mysql and --with-mysqli. After getting it to configure correctly, where it finds mysql and mysqli support, when I run make I get these odd compile errors: == /usr/src/php-5.0.4/ext/mysqli/php_mysqli.h:48: error: syntax error before …

Member Avatar for fsn812
0
265
Member Avatar for clivey

When I send my form to my email address using php everything comes out great apart from the Field names that had spaces in them like user first name becomes user_first_name Is there a way to put the spaces back in as this is very important as the email goes …

Member Avatar for clivey
0
281
Member Avatar for AhmedHan
Member Avatar for ashishjha54
0
227
Member Avatar for dave_s

Hi, Using Dreamweaver I have created a form that submits data to an sql database using PHP. I have a number of questions that I hope you can help with. 1. Why are some fields on the form a different colour when the background on all fields are set to …

Member Avatar for dave_s
0
157
Member Avatar for jeepj27

Hi All - I am trying to have a .mp3 file play when the below code runs.... is there any possible way to do that? (if not mp3 wav will work too) - I just am not sure how to do it? Can anyone edit this do play a file …

0
57
Member Avatar for tristan

Hello, I am having a members search page, where you can look up members by searching on e.g. age, interests, country etc. If the user does not specify e.g. an age range, then all ages should be included in the search. But if a specific age range is specified, then …

Member Avatar for sarahk
0
209
Member Avatar for cj51

Warning: what you are about to read is from a complete novice who is trying to install software on a linux server. I apologise in advance if this is not in the right forum. My problem is that the install program shows the following during its checklist: Disabled functions list …

Member Avatar for cj51
0
91
Member Avatar for John Smith

Hi, Im having a slight problem with fgets and ssl. [CODE] <?php function monkey($method,$protocal,$port,$domain,$path,$data,$query){ if($method=="POST"){ $fp = fsockopen($protocal."://".$domain, $port, $errno, $errstr, 30); if (!$fp) { echo $errstr." (".$errno.")<br />\n"; } else { $out .= "POST /".$path."?".$query." HTTP/1.1\r\n"; $out .= "Host: ".$domain."\r\n"; $out .= "Content-Type: application/x-www-form-urlencoded\r\n"; $out .= "Content-Length: " . …

Member Avatar for John Smith
0
134
Member Avatar for Walyer

Is it possible to use MS Access as a db with PHP? If so, how? If not, is there a way to convert (for free without buying a program) MS Access file to MySQL? Thanks for your efforts

Member Avatar for big_k105
0
179
Member Avatar for geekbutproud

hey ppl, can anyone tell me which is the ideal database backend that i can use with php :confused: ...i thought about using access but i dont think it would be good enough...please help me.Thanx a lot.Ciao. -geek.

Member Avatar for big_k105
0
188
Member Avatar for sga55

I have used bit torrent a little bit and it has worked but now I get an error message saying: Error: No torrent-information is found in the file. (contents is invalid/bad header). This happens to all the files that I try to download now. Dont know why... If anyone would …

0
117
Member Avatar for oodam

.................a script for event booking with that uses PHP and Mysql and links to a third party such as worldpay or paypal for payments? I've had a look and I can't find anything specific to my needs. What I'm really after is something like the track day booking at [url]www.bookatrack.co.uk[/url]. …

Member Avatar for oodam
0
162
Member Avatar for BoogaBooga

Hi! I'm building a login system for my application, but I'm having a little problem... It really needs top security, so I'm using both MySQL backend and cookies. Example: [B]LOGIN FORM[/B] > [B]VALIDATION[/B] > [B]INSERT SECURE SESSION ID INTO DATABASE[/B] > [B]STORE COOKIE WITH INFORMATION[/B] That's for the login. For …

Member Avatar for paradox814
0
213
Member Avatar for Pikachu

Hi! I'm currently learning on my own on PHP(I have some basics on HTML). Anyway, I learnt that I need to download php from [url]http://www.php.net/downloads.php[/url] The first two downloads I saw was this:- * [SIZE=3]PHP 5.0.4 ([COLOR=Blue]tar.bz2[/COLOR]) [4,620Kb] - 03 Apr 2005 md5: fb1aac107870f897d26563a9cc5053c0 * PHP 5.0.4 ([COLOR=Blue]tar.gz[/COLOR]) [5,702Kb] - …

Member Avatar for fsn812
0
267
Member Avatar for adamdidthis

HI, I am designing a web based purchase order system for the company i work for. I have managed to do everything i need so far but am having a problem with the approval system I am trying to do. Basicaly I am trying to come with up with a …

Member Avatar for fsn812
0
99
Member Avatar for yesterda

ok, i'm really new to php, and i was trying to edit some text, and after i changed it i musta screwed something up because now i get a parse error unexpected t_string line 23, here is the code... <?php // // +----------------------------------------------------------------------+ // |zen-cart Open Source E-commerce | // …

Member Avatar for PeterB
0
133
Member Avatar for vipula

Hello Experts !!! I have two databases to select from my web page. In this script i can search one database(if ($choice=="staff publication") it works. I dont know how to write the script if I select the other option if($choice=="books"). Please can any one help me. I want to display …

Member Avatar for vipula
0
209
Member Avatar for Sukuz

Hi!!, I don't know PHP , but I want a piece of code which I can use in my website to keep track of the no. of visitors (aka HIT COUNTER). Please mention how to apply it in my html pages .

Member Avatar for paradox814
0
124
Member Avatar for vipula

Hello Experts !!! I have two databases to select from my web page. In this script i can search one database(if ($choice=="staff publication") it works. I dont know how to write the script if I select the other option if($choice=="books"). Please can any one help me. I want to display …

Member Avatar for vipula
0
110
Member Avatar for gmemol

hi all, in a php file i have written these codes: [CODE]<html> <body> <h1>Cookie Example </h1> <font size=+2 face = verdana> <? $visitcount = $HTTP_COOKIE_VARS["visits"]; if( $visitcount == "") $visitcount = 0; else$visitcount++; setcookie("visits",$visitcount); print "This is visit number " . $visitcount; ?> </font> </body> </html>[/CODE] when i browse it …

Member Avatar for paradox814
0
86
Member Avatar for PHPGuru

At my PHP: Mastery Boot Camps I'll have a segment on consulting and contracting that will contain a panel of contractors who have successful businesses. If you're a contractor making more than $100K, manage multiple clients, are good at getting contract jobs quickly, are in a long-term contract, or are …

Member Avatar for PHPGuru
0
160
Member Avatar for Gilded

Anyone has an idea on how they can achive the every new registration has its own subdomain? I have WildCard DNS enabled.

Member Avatar for Gilded
0
144
Member Avatar for paradox814

Is there a way to disable php in a given folder without having admin access to the server? I want to give out some ftp accounts to my friends and stuff, but I do not wan them to be able to leach in and access my files usign php. I …

Member Avatar for PoA
0
74
Member Avatar for flame

Hi there! I have installed CuteNews without ANY problems... However... When I posted the code into my webpage for the news to display on it, it did that, but one problem... The news will NOT update itself! I added and even deleted posts, but the changes never take affect! The …

Member Avatar for Black Knight
0
171
Member Avatar for Dani
Member Avatar for Black Knight
0
164
Member Avatar for Danny

Hi all, I have quite a few testimonials I would like to rotate. Each testimonial is just a block of text. As it stands, all are displayed on every page. I want only one to be displayed. [b]Currently:[/b] I have about 20 pages that all have an include of "testimonials.php". …

Member Avatar for Danny
0
246
Member Avatar for Young Teck 06

Okay, I need some really big help. I just added an addon contribution to osCommerce. It requires NETBPM and it says that I need to add it to my server, so I am kind of lost about what or where it goes at? Does it go in the main root …

Member Avatar for Danny
0
179

The End.