39,320 Topics

Member Avatar for
Member Avatar for MitkOK

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. …

0
62
Member Avatar for Dsiembab

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 …

Member Avatar for cereal
0
81
Member Avatar for vjw757

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 …

Member Avatar for digital-ether
0
62
Member Avatar for Persist01

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 …

Member Avatar for digital-ether
0
85
Member Avatar for m-soft

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 …

Member Avatar for digital-ether
0
161
Member Avatar for compengr

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 …

Member Avatar for digital-ether
0
89
Member Avatar for Anna ms

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 …

Member Avatar for shabi1985
0
70
Member Avatar for piers

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 …

Member Avatar for piers
0
138
Member Avatar for venu@baylogic

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.

Member Avatar for phper
0
159
Member Avatar for NetFamous

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 …

Member Avatar for cereal
0
142
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
108
Member Avatar for Dsiembab
Member Avatar for Ezzaral
0
165
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
122
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
119
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
91
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
91
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
195
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
209
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
228
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
67
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

The End.