39,316 Topics

Member Avatar for
Member Avatar for sarithak

Hi frnds I am getting error in mail code...basically i changed the host server....at the previous server it works fine..but now i am getting error in this new server...now i am using HELM....this is the error... [CODE]Failed to connect to www.gmail.com:25 [SMTP: Failed to connect socket: A connection attempt failed …

Member Avatar for pritaeas
0
79
Member Avatar for cwarn23

I have been pm about this question from Crohole so many times that I thought I would setup a topic where others can join in. Crohole has asked about setting up a bot like I have many times but his questions seem to be looping back to the beginning. So …

Member Avatar for cwarn23
0
122
Member Avatar for shaikh_mshariq

Hi All, I have used eval function before this. But I am not sure why this one is not working for me. I do have one function which returns me some filter string. It returns string something like this. [CODE]AND TM_ID=$row_tMain[TM_ID] AND TM_DATE=$row_tMain[TM_DATE][/CODE] I want to use this string in …

Member Avatar for shaikh_mshariq
0
130
Member Avatar for mundetas

Can php have a stand alone window form functionality instead using the browser? Because asp can use things such like WPF, have a windows form and get info from a server.:-/

Member Avatar for mundetas
0
76
Member Avatar for mundetas

Hey can anyone please help me :S . I have created a user table with different levels for instance type 0 to 2. If the user is type 1 then a certain page will open . I have placed my values in sessions then used a condition to verify. Please …

Member Avatar for mundetas
0
90
Member Avatar for naekur

I'm using the PHP Swift Mailer library ([url]http://swiftmailer.org/[/url]) to send email to users. Following their documentation about sending embedded images ([url]http://swiftmailer.org/docs/embedding-dynamic-content/[/url]) I have the following code the send images. The problem is that the images aren't sending so I'm guessing that I haven't actually created them or stored them in …

Member Avatar for Josh Connerty
0
156
Member Avatar for ramesh_

Hi All, Curretnly, i have drop down /select box, where i can choose an option (title) from drop down. I need select box to be replaced by input box where i can enter text (title) manaually. I have part of code below. [COLOR="Red"]ANY HELP WILL BE HIGHLY APPRECIATED...[/COLOR] [CODE] $query …

Member Avatar for darkagn
0
74
Member Avatar for jojogirl

I can only see about 4 lines of code...not the actual php coding. I can't make small changes to my own files. How can I view my code and why did they do it like that? Shouldn't you be able to view full coding in server files? :( Feeling helpless

Member Avatar for almostbob
0
129
Member Avatar for rbartlett

I've recently developed a site using Joomla (PHP). The problem occurs when an IE6 user clicks on a link to a component item within the site. An error message is displayed saying IE can not display the page. All other links work in IE6, it's only when the link is …

Member Avatar for SimonMayer
0
101
Member Avatar for DaveyMoyes

Hi All, iv been a member here a few months now and have been helped greatly in the past & would appreciate some pointers please. I have been given an xml document & have been tasked with extracting information from it. an example of data held in the xml file …

Member Avatar for rskelley
-1
121
Member Avatar for DaveyMoyes

Hi all, Im looking into an xml file and trying to understand how i extract data from the xml file using a php script. an example of data that i would like to <enquiry_number>000001</enquiry_number> <product_code>HPI11</product_code> Im thinking i need to use a GET function but not sure how I would …

Member Avatar for ShawnCplus
0
65
Member Avatar for SgtMash

Hi can anyone tell me what's wrong with this? Thx in advance. [code=php]$meta_tags = '<meta name="keywords" content="' .$meta_keywords' . "> <meta name="description" content="' .$meta_keywords . '">';[/code] Its throwing the following error: PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING

Member Avatar for Airshow
0
88
Member Avatar for gagan22

Hi all, I am making a form in which i have many fields. Let me explain: In this form there are two radio button and one field for email text box and another field for name text box. Now i want that if i will select first radio button from …

Member Avatar for ryuslash
0
82
Member Avatar for Hugo Brand

Hi I need some help with the following problem: This is the source code: [CODE]<html> <body> <?php //Retreiving mail messages from mail server $server = 'localhost'; $port = 110; $mail = imap_open("\{$server:$port/pop3}INBOX", 'admin', 'password'); ?> </body> </html>[/CODE] This is the error message (exception): Warning: imap_open() [function.imap-open]: Couldn't open stream \{localhost:110/pop3}INBOX …

Member Avatar for Hugo Brand
0
1K
Member Avatar for manojjena1982

Fatal error: Call to undefined function mcrypt_module_open() Please help me to fix it.

Member Avatar for pritaeas
0
78
Member Avatar for schaef2493

I'm converting an old Smarty template setup into strict HTML/CSS + PHP. Can someone explain what the snippet of code is doing? [CODE]$grading_periods[gps].grading_period [/CODE] Here is the line of code that assigns it. [CODE]$tpl->assign('grading_periods',$grading_periods);[/CODE] Thanks

Member Avatar for cwarn23
0
83
Member Avatar for NoID

Hello Guys, I have bult a php site, and going live soon some questions first of all from what i read i need to have a .htaccess file in which it has turn of register_global and disable errors do i need to put anything further? I also have a admin …

Member Avatar for cwarn23
0
139
Member Avatar for Rui Russo PT

CODE ERROR: Parse error: syntax error, unexpected T_STRING in.... CODE: [code=php]if(int strcmp ( string $x_password , string $x_password_conf) != 0) { $erros=1; $erro_conf_password = 'As passwords n&atilde;o coincidem'; }[/code]

Member Avatar for pritaeas
0
34
Member Avatar for rajeshsprabhu
Member Avatar for NoID

Hello Guys, i have the following .htaccess file, [code] php_flag display_errors Off php_flag display_startup_errors Off php_flag log_errors On php_flag magic_quotes_sybase Off php_flag magic_quotes_gpc On php_flag register_globals Off php_value error_log /home/sites/mydomain.co.uk/public_html/err_ors/php.txt php_value error_reporting 2147483647 Options All -Indexes php_value disable_functions phpinfo ErrorDocument 404 /404page.html [/code] I then did a test error so …

Member Avatar for NoID
0
88
Member Avatar for Dalty80

Hi, I'm creating a basic CMS using PHP and MySQL and i'm struggling to get the checkbox information from my html page across into the database. I want the values to appear as binary 0 or 1 values, any help would be greatly appreciated thanks html document is written as …

Member Avatar for wilch
0
90
Member Avatar for ayesha789

This is a page name search.php [CODE=html]<form action="/ap/demo_paging1.php" method="post"> <input type="text" value="Enter Site ID" name="a" class="textfield_effect" maxlength="30" onfocus="this.value=''"> <input type="submit" value="Search ID " /> </form> [/CODE] and I post value a to another page name demo_paging1.php when I put Query [ICODE]WHERE SiteId REGEXP '$a'[/ICODE] It does not show me the …

Member Avatar for ayesha789
0
421
Member Avatar for vanessia_1999

I am trying to make the image proportionate so that it does not look pixelated. Some of my image look nice but others look pixelated. Is there a way or a code that I can use to make all my thumbnail images proportional from the original image or something like …

0
71
Member Avatar for revatijadhav
Member Avatar for verbob

Heres my code, which is in the head section of the page(yes, its saved as .php): [code] <?php if (isset($_GET['category'])) { if ($_GET['category'] == "property" ) { $property_link = "<span>Property</span>"; $rentals_link = "<a href="listingstest.php?category=rentals">Rentals</a>";} else { $rentals_link = "<span>Rentals</span>"; $property_link = "<a href="listingstest.php?category=property">Property</a>"; } } else{ $property_link = "<a href="listingstest.php?category=property">Property</a>"; …

Member Avatar for verbob
0
111
Member Avatar for karin21

hi guys, i have working on this simple cart script,it goes like when selecting the product in combobox it will display the details of the product into the textbox, i can display the details but my problem is when i select another product the previous selected product was replaced.. what …

Member Avatar for karin21
0
148
Member Avatar for Takkies

I have tried to get my php scrip to work but it doesn't. can someone maybe help me to get it working please. Here is my script: [code=php]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <?php if(isset($_POST['mail'])) { $email_to …

Member Avatar for tiger86
0
79
Member Avatar for jay.barnes

Hello! I was wondering if I could get some assistance with something that is probably easy for even an amateur javascript coder, but, I just can't seem to get after trying every iteration of code I can imagine. The deal is, is that I'm trying to put together a PHP …

Member Avatar for jay.barnes
0
170
Member Avatar for Narayan15

Hi, I want to show running time. i dont want to show present time. Time should be running on php page. Please Please help me.

Member Avatar for fuego2008
0
383
Member Avatar for phpbeginners

Is there anyone who can write a javascript/php code for refreshing the contents of only one DIV container on one page?

Member Avatar for diafol
0
283

The End.