39,320 Topics
| |
Hi. I'm learning now CakePHP and I'm writing basic login script. So when I log ( validate username and password ) I want to print a message and after 5 seconds to redirect to index. I use $this->flash('Login successfull', '/users/index', 5); but won't work ;( Ideas ? Thanks in advance. … | |
Good evening, I was wondering if anyone knows of any resources that explain the Curl lib function in php. I know that the php manual has the functions associate with the curl lib but they do not have any examples with FOLLOW_LOCATION and other parameters. If anyone knows of any … | |
i have a site [URL="http://upithere.com"]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 … | |
I'm looking for a php/mysql search tool but not a search engine tool. I'm trying to find something that allows you to enter a list of different characters. Then when any of those characters get entered into a textarea within a form and submitted by the user, the tool detects … | |
Hello, I try to read a xml file with this schema: - <item> <title>some text</title> <link>link</link> - <description> text ok <br /> I can't see this text </description> <imedia:thumbURL>link</imedia:thumbURL> </item> When I write: echo $rss_channel["ITEMS"][$i]["DESCRIPTION"]; I can see text ok, but from <br /> I can't see nothing. I tried … | |
Hi All, If this isn't the right place please direct me to the right place. If however you can assist me with an answer please do. I'm looking to setting up a website 1. where people can type in various queries on stocks (prices, comparisons, traded volumes, annual reports, market … | |
I have a page with many links on it but all the links are saved into my ,mysql database.These links are displayed on my site.I wanted to know if google robots sees those links there.if the admin of this forum will allow me to post my links page so that … | |
hi I am new to this forum and new to using php. Everyone says it is really easy and so far so good until I was trying to display pictures based on the selected option from a drop down menu. so I have 3 options: dromidary bactrian mollie I have … | |
Hai friends, Please help me that how can i solve this problem, how can i include AJAX in PHP,Can u tell me that how can i configure system for AJAX. | |
Hi, I have a search engine over at zoodlez [dot] net, the script that runs it is fairly simple and pull results from altavista, msn, and yahoo.. Anyway.. I have been looking for a way to implement a related search feature into this thing.. For example, if someone searched for … | |
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 … | |
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. *,/,< etc. </div></td>'; $error++; … | |
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 … | |
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 … | |
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 … | |
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 | |
Hi, can anyone point me in the right direction with incorporating rss feeds into web sites? Thanks. | |
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] | |
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 … | |
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. | |
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 … | |
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.. | |
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 | |
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'. … | |
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... | |
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... | |
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 … | |
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 | |
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 … |
The End.