38,019 Topics

Member Avatar for
Member Avatar for EnderX

I'm working on a php-built report that's supposed to be printed out. It may be used on IE, it may be used on Firefox, I'm not sure which and have no control over the issue. Differences in the output formatting of the two browsers mean I have to be able …

Member Avatar for cereal
0
107
Member Avatar for Dsiembab
Member Avatar for Ezzaral
0
162
Member Avatar for wireshop

I'm having a trouble getting my php script to validate user input what am I doing wrong here? This just displays the error message all the time. for example: [code] if(!preg_match("/[^a-zA-Z0-9\.\-\Ä\ä\Ö\ö\Ü\ü\ ]+$/",$name)||empty($name)) { print '<td colspan="2" class="ErrorText"><div align="right">Please enter a valid name without special characters i.e. *,/,&lt; etc. </div></td>'; $error++; …

Member Avatar for cereal
0
111
Member Avatar for Staplerkid

Hey there! So basically, as you could probably have figured out from my title, I am looking for some information in regard to the PHP function, Rand(). I'm looking for as much information into exactly how it works, and the accuracy and predictability of the pseudo-randomness. I am working with …

Member Avatar for cereal
0
121
Member Avatar for vjw757

i have a site [url]http://upithere.com[/url] . When you go to the site you see how the last 4 uploaded images are displayed? now if you go back up click on Hosted Images. now theres a lot of links to uploaded images. what i want todo is when you click on …

0
58
Member Avatar for marjan_m

I want tht whn a user is logeed in,the user can see a page.hw it can be done in php..as: [CODE] if($valid_user==1) echo "You are logged in"; else echo "Enter again"; [/CODE] In ths code I want tht whn the valid_user has value 1 the control shld be directed to …

Member Avatar for chewan
0
134
Member Avatar for jd2008

i want to take this: Label: Supreme Records Catalog#: S 512 Format: Vinyl, 7" Country: Belgium Released: 1972 Genre: Rock Style: Pop Rock Credits: Producer - Gus Dudgeon Notes: Rating: No votes yet. Rate It Submitted by: Evilist from the site : [url]http://www.discogs.com/release/479714[/url] pls show me how to code it

Member Avatar for Eko
0
109
Member Avatar for Cerberus

Hi, can anyone point me in the right direction with incorporating rss feeds into web sites? Thanks.

Member Avatar for m-soft
0
90
Member Avatar for marjan_m

Is there any problem wid ths code? [CODE] $name=$_POST['txtusername']; $password=$_POST['txtpw']; $result = mysql_query("SELECT username,pw FROM login"); while($row = mysql_fetch_array($result)) { if($name=$row['username'] && $password=$row['pw']) $valid_user = 1; else $valid_user = 0; } if($valid_user=1) echo "You are logged in"; else echo "Enter again"; [/CODE]

Member Avatar for iamthwee
0
90
Member Avatar for assgar

Hi I am having a problem with the height of my dynamically create rows. The data is retrived properly form the database, the issue is displaying the rows. When there are alot of results to dusplay the rows are displayed correctly. If there are a few rows the hight can …

Member Avatar for assgar
0
193
Member Avatar for engrr.faruk

Hi, can anyone tell me how to use subform i.e form within anther form in same IE in php? is it possible? Regards, Faruk Chowdhury.

Member Avatar for sun_sun_th5
0
42
Member Avatar for jonathan.jbkt

I have a client that is hosting his site on my Ubuntu Linux Server. He has some files that he generates from Microsoft Excel as .htm files. I have set Apache to parse .htm files with the PHP engine but we still have a problem with the way the content …

Member Avatar for jonathan.jbkt
0
204
Member Avatar for it2051229

I was just wondering if there is a PHP function that could detect if there are spaces in between characters or a word or whatever as long as it is a space..

Member Avatar for it2051229
0
144
Member Avatar for Nabi Bux

I m new in this forum please can any body tell me where i find the help of cakeph is there any book of cake php

Member Avatar for ses5909
0
65
Member Avatar for sciulli

Totally lost here. The output of one record in the array is posted below. I would like to get the sum of all the records in field [5] of the [Transporter Log]. I have tried various variations of the following (which I cut/paste from another thread). $subtotal allows returns '0'. …

Member Avatar for iamthwee
0
79
Member Avatar for jd2008

for e.g. [url]www.doheth.co.uk/music/lyrics.php?s=30346[/url] -...pls help me create the regular expression...there are few other strings which starts with www and eds with -, is there a way to store strings which matched in an array ?..pls help...

Member Avatar for iamthwee
0
66
Member Avatar for phpbeginer

Hi, I want to write my first Banner on my page with PHP. I'd like to have several pics or Flash on it. How should i start? Thanks for any answer...

Member Avatar for iamthwee
0
39
Member Avatar for php_newbie

Hello Everyone. I am a newbie in PHP and using XAMPP tool for learning php. While dealing with forms,I encounter a problem,please help. I have made a simple form in which user fill his name in textbox click on button,his name is displayed.But,this is not happening,Instead of this dreamweaver opens …

Member Avatar for Cerberus
0
84
Member Avatar for hbmarar

Hi, I would like to learn how we could do spoof check and also how to avoid spamming. I would like to request the experts here to give me some pointers on doing this with a contact form. Regards Harish

Member Avatar for digital-ether
0
58
Member Avatar for hbmarar

Hi, I would like to use the smtp configuration done on my php.ini and use smtp server for sending mails. I am not getting this part...? I modified the ini file wtih the intranet server address and still it seems like i am missing something. I request some pointers to …

Member Avatar for digital-ether
0
66
Member Avatar for curly73

I am new to PHP and I don't have a seperate server. I am running Dreamweaver CS3 with Developers toolkit and Xampp 2.1.10. My problem appears to be that I cannot get my head around whether I need to have a seperate server, or whether I can do everything locally. …

Member Avatar for digital-ether
0
93
Member Avatar for php_noob

Hi I'm new here and new in the industry, I'm focused in designing right now... but still interested in developing dynamic websites. I just want to ask if there is an available script that writes a text file in a FTP server then show in a scrolling text in FLASH. …

Member Avatar for peanutpad
0
94
Member Avatar for reggienoble

I Am New To Php Can Anybody Pls Help Me With Some Beginners Tutorials And Also Mysql Tutorials..............thank U

Member Avatar for stymiee
0
140
Member Avatar for pvc4twenty

I have uploaded the site and get this error message on the home page: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/d/t/e/dtedder/html/index.php on line 55 line 55 of index reads like this: $totalRows_rsArticles = mysql_num_rows($all_rsArticles); Any suggestions?

Member Avatar for Ezzaral
0
60
Member Avatar for marjan_m

I hv make an html page on which there r 2 fields of username n pw n a login button.For Authentication code I make another file named "check.php".Kindly guide me that hw can I give the refernce of the form objects in this file as I need the values of …

Member Avatar for marjan_m
0
116
Member Avatar for hbmarar

Hi, I integrated the ogone module and other modifications as said in the module integration steps... i am getting a problem saying the accepturl is more than 200 characters. I hope that some experts would be here who might have explored this road. I request for some tips and pointers …

0
47
Member Avatar for mashliner

Hi.I'm new here.I'm looking for codes for a login form.Be great if you guys could help me out,it's for my thesis.thanks!

Member Avatar for mashliner
0
60
Member Avatar for Alexandro

I use PHP to access a XML data file. I don't want that XML to be access by browser(see) access only data with php. How to block the access to the XML for everithing else except the PHP file?

Member Avatar for stymiee
0
115
Member Avatar for Cerberus

I've just started looking at OO PHP and was wondering how you would access an object in a script other than the one that instantiated it. For example: [CODE] <?php // file: animal.php Class Animal { $name; $noise; function _construct($nm, $no) { $this->name = $nm; $this->noise = $no; } function …

Member Avatar for Cerberus
0
153
Member Avatar for stagepro

I have a website (php/mysql) that I've had for years and have been using the same host. I am changing hosts for a variety of reasons. I have created a temp domain on the new host and uploaded the site. I made no changes at all to the coding, but …

Member Avatar for jonathan.jbkt
0
71

The End.