38,020 Topics

Member Avatar for
Member Avatar for Designer_101

hi, im having a bit of trouble learning php. My script is working but it is showing the amount of characters i am echoing out....heres the code. [COLOR="Red"] $tireorder = 'you have ordered: '.$tireqty.' tires.' ; //open the file and check to see if it exists// $fp = fopen("file.txt","r+"); if(!$fp) …

Member Avatar for iamthwee
0
105
Member Avatar for michael123

How can I get future date by php date() function, for example today is 11/13/2007, I want to get the date after 60 days. Any advice will be appreciated.

Member Avatar for iamthwee
0
118
Member Avatar for mishrarajesh44

hiiii.... i am just started php...The problem is that the web page blank when an syntax error occurs in code ,,,so i am getting difficulties to locate the problem...how can i know wher is the problem..? can any one please help me........!

Member Avatar for MitkOK
0
92
Member Avatar for jaymathew

So I have some PHP code that takes text from a mysql table and prints it to the screen with formatting. Problem is the spaces keep getting truncated when its formatted. Like: [QUOTE] I like cookies. They are tasty. [/QUOTE] would come out as: [QUOTE] I like cookies. They are …

Member Avatar for jaymathew
0
130
Member Avatar for cancer10

Hey, I was wondering if there is/are any drawbacks/limitations of php over other web languages? Thanx

Member Avatar for maddog39
0
87
Member Avatar for gremlinuk

Hi, I have the PHP file as coded below. Is there any way to make directory files open in a new window. I mean, this file shows files in a folder in which it sits in, but how can displayed files be opened in a new window? Cheers Aaron ------------------------------------- …

Member Avatar for fatihpiristine
0
829
Member Avatar for ithelp

I just installed apache, I start httpd , now type [url]http://localhost:8080/[/url] I get permission denied, how do to give permission and which directory do I need to give permission? Now what all I need to install in my machine to succesfully create a PHP forum ?

Member Avatar for fatihpiristine
0
65
Member Avatar for ithelp

I have got a solaris machine, it has got an ip address, I want to install some software (preferably PHP) on the machine so that when I type [url]http://ipaddress//forum/[/url] I get a forum, which I can manage and configure then.

Member Avatar for stymiee
0
167
Member Avatar for Venom Rush

I've been told this isn't possible which leads me to the following problem. I have a series of events stored in a database and at the moment I pull the info out and display each one on a new line using a while loop. What I'd like to do now …

Member Avatar for ryan_vietnow
0
2K
Member Avatar for dbayo

i need a help.. i wanna insert an images into MySql database.did anyone have code snippet for my problem?..i hope u can show to me step by step,from the form to the final step insert an images to database..tq

Member Avatar for dbayo
0
72
Member Avatar for bhakti.thakkar

i have an array of hours[] and minutes[]. hours Array: Array ( [0] => 11 [1] => 12 [2] => 13 [3] => 14 ) minutes[] Array: Array ( [0] => 30 [1] => 30 [2] => 30 [3] => 30 ) now i want an array which will merge …

Member Avatar for bhakti.thakkar
0
97
Member Avatar for princestasnley

I actually need a self tutorial step by step on how to buid a proffessional php web site from scatch to finnish. thanks.

Member Avatar for dopple
0
116
Member Avatar for silva

Hi! I am doing some work for uni but having trouble doing it, in that I dont understand it or how to do it! and was wondering if anyone out there would be able to help. I'm having to do a big project where I build a website based on …

Member Avatar for silva
0
74
Member Avatar for bhakti.thakkar

hi all, i have a string for example: $str="The annual general meeting is scheduled on ::date:: at ::time::. you all are requested to be present on ::date:: at ::time::." i store it in the Templates_T table in my DB. Template_ID =1 [for eg.] now this format can be used further …

Member Avatar for bhakti.thakkar
0
752
Member Avatar for chmazur

I would like to know why in the majority of the examples showed in the forum, nobody uses classes in PHP. Is it a chance? Or really, is nobody using them? Do you know classes advantages? ch.-

Member Avatar for chmazur
0
92
Member Avatar for tattie

Hey guys im really new to php and i had it all worked out untill this came along it says this [code]Parse error: syntax error, unexpected T_STRING in /home/tattie/public_html/index.php on line 1[/code] i really really dont know what to do and i would be so grateful if someone could tell …

Member Avatar for tattie
0
146
Member Avatar for Darkmeerkat

I'm trying to write a little wrapper for executing MySQL statements, and I've run into a wall trying to use [inlinecode]mysqli_bind_param[/inlinecode] without knowing the number of variables I'm binding. Here's what I've got: [code=php] /** * Note: * . execSQL is variadic, just like bind_param * . prepareTypeStr is another …

Member Avatar for Darkmeerkat
0
214
Member Avatar for sujithfem

I have enclosed the simple PHP function for Text [array] Highlight without changing the own case... [CODE]function ShowPowerHighlight($Text,$Needle) { for($j=0; $j< count($Needle); $j++){ if ($Needle[$j] != "") { $TextTemp = ""; $i=0; while($i if((($i + strlen($Needle[$j])) <= strlen($Text)) && (strcasecmp($Needle[$j], substr($Text, $i, strlen($Needle[$j]))) == 0)) { $TextTemp .= '' . …

Member Avatar for sujithfem
0
153
Member Avatar for hhheng

I tried the following, but it's not working: [QUOTE]RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .html[/QUOTE] Any other solutions?

Member Avatar for somedude3488
0
80
Member Avatar for lydia21

hi how to validate inputs in php.please send some same code for email and numbers... thanks, lydia

Member Avatar for lydia21
0
96
Member Avatar for akhoa168

Can you show me a open source to send message in a forum as you used for your forum? or how me how to do that Thank you very much! akhoa168

Member Avatar for akhoa168
0
64
Member Avatar for ivatanako

I needed to paginate my article section at my site so that i wont have 20 paragraphs page, now when I tried this on LOCALHOST i encountered no problem at all. But when I uploaded it on my server, the pagination doesn't work. I think the problem here is about …

Member Avatar for ivatanako
0
87
Member Avatar for shackow

i try to install software called kbpublisher on my website and i need "document root" to configar this software [url]www.basma.sy/db[/url] thanks

Member Avatar for shackow
0
163
Member Avatar for fatihpiristine

does anyone know how to limit upload speed on apache for windows? i found some solutions but they all for linux this one didnt work for me <IfModule mod_throttle.c> ThrottlePolicy Original 7 5 <Location /throttle-status> SetHandler throttle-status </Location> <Location /throttle-me> SetHandler throttle-me </Location> <Location /~*/throttle-me> SetHandler throttle-me </Location> </IfModule>

Member Avatar for fatihpiristine
0
89
Member Avatar for mercuryserve

Hi. I have extraordinarily limited knowledge of (in?) PHP. Anyway I was trying to fiddle with my website and I did something such that when I click on a menu item on my website I get this message: Parse error: parse error, unexpected ':' in /home/mercurys/public_html/preview.php on line 46 Other …

Member Avatar for hopalongcassidy
0
91
Member Avatar for lydia21
Member Avatar for hopalongcassidy
0
152
Member Avatar for rjbind

I get the following error when I run the script: `Parse error: syntax error, unexpected '{' in /home/rjbind/public_html/cert/score.php on line 61` Here is the script syntax: <p align="center"> <a href="http://serverpg.com/clients/"> <img border="0" src="http://www.rjbind.com/cert/header.jpg"></a></p> <?php /* ServerPG Certification v1.1 Copyright (c) 2006 serverPG.com This is not intended for redistribution Do not …

Member Avatar for rjbind
0
107
Member Avatar for bling_bling_vr6

Hi, I have this code. It works fine using PHP 4 and MySQL 5.0. but it doesn't work at all on my webhost (php4 mySQL 4) and I cannot for the life of me figure out why. Here's my code: /<? // Connect database. include("connectdb.php"); //if "Submit" button is clicked …

Member Avatar for somedude3488
0
146
Member Avatar for lydia21

hi i am new to php.i want to know how to validate textboxes for email address and alphabets... lydia

Member Avatar for lydia21
0
94
Member Avatar for emmanueloladele

Hello All, I create a website that sends mail to all prospective users. I discover that users on yahoo mail dont get my mail (and some users on free or Commercial e-mail services). However, users on company based mail get the mail. I need your help ASAP Emmanuel

Member Avatar for fatihpiristine
0
62

The End.