39,393 Topics

Member Avatar for
Member Avatar for tristan17

hi, I need help in installing gd library with php4.3.10 on windows platform. I have uncommented the line "extension=php_gd2.dll" and set the directory " extension_dir = "c:\php\extensions\" " where i have installed php in the php.ini file in c:windows. But it still doesn't work. Wondering where i had gone wrong. …

Member Avatar for tristan17
0
222
Member Avatar for namit
Member Avatar for namit

I have writen a scipts in linux its called user.sh i wounder how do i run it in a php script I can if i just run it in command line ./user.sh it works perfect but can i add it into my code. thanks

Member Avatar for namit
0
143
Member Avatar for Paki^Boy

Hello friends i hope u all will be fine...am also enjoying the blessings of Life... Dears i am from Pakistan (Asia) and an IT Student.....i love to develope Web Site but hasnt any professional experience so i want to learn Php so that i may do something dynamically and i …

Member Avatar for Paki^Boy
0
123
Member Avatar for Stick

I have a database that returns information about a customer's jobs that have shipped. It displays correctly, but I would like the carrier name to be a link to the carrier's website so the customer can track it on line. I have the carrier's website listed in the database. how …

Member Avatar for Stick
0
186
Member Avatar for 1andyw

I need to improve our online calendar but the ones I have seen so far, will not handle the number of events I need to list, without horizontal scrolling. Several of our members have mobility limitations and horizontal scrolling is inappropriate. The calendar should have a chronological list for each …

Member Avatar for namit
0
150
Member Avatar for tristan17

hi guys, i ran into this error "Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in c:\web\imagedb\pixel.php on line 19" while running the code: <?php // database connection $host = "localhost"; $user = "user"; $pass = "password"; $db = "imagedb"; $table= "image"; $conn = mysql_connect($host, $user, $pass) OR …

Member Avatar for sarahk
0
89
Member Avatar for tristan17

hi, I need help in installing gd library with php4.3.10 on windows platform. I have uncommented the line "extension=php_gd2.dll" and set the directory " extension_dir = "c:\php\extensions\" " where i have installed php. But it still doesn't work. Any advice will be greatly appreciated. Rgds, tristan

0
69
Member Avatar for venetian_jigsaw

I am developing my first e-commerce site and have run into a slight problem with the page counter. As you can tell in my code below, I set my number/Pg and start page level vars as follows: $numPerPage=3; $start=0; I know I am missing a limit in my SQL stmt, …

Member Avatar for techniner
0
144
Member Avatar for bgharper

I seem to be having a problem getting this while() loop to work... [PHP]include("database_connect.php"); $query = "SELECT id, title, date FROM entries"; $result = mysql_query($query); while ( $result = mysql_fetch_assoc($result) ) { $id = $result["id"]; $title = $result["title"]; $date = $result["date"]; echo "<div class=\"recent_entries\">"; echo "<a href=\"archives.php?id=" . $id . …

Member Avatar for chrisbliss18
0
110
Member Avatar for michael123

A simple question. I have integer variable $a=2, how can I display it in string format: "SN0002" with 4 '0' inserted? thanks.

Member Avatar for Lafinboy
0
93
Member Avatar for mystique

Hi there I recently used a freelance web designer to design my website and i specified that i need to do the content management myself. However, he created the website using php and after i paid him and all, he says that it is impossible for me to change any …

Member Avatar for EWB-James
0
7K
Member Avatar for tristan17

Hi guyz, I had a program which is written in microsoft visual C++, it is actually just a image retrieval program. But now, i wan to create a web program that user can retrieve similar images thru the microsoft visual C++, can i use php to do it? I learnt …

Member Avatar for Gary King
0
102
Member Avatar for Xtothel

Hi, i would like to know how to set up a php page to automatically send attachments(files on the server) to other e-mails. thnx in advance.

Member Avatar for guideseeq
0
108
Member Avatar for eugui

i don´t speak enlgish very well and i want to explain the vulnerability/problem whith orkut. Brazilian guy created a php script that you can send message for all your friends in orkut he did too a nice program where you write the community and the program get the emails from …

0
82
Member Avatar for aarya

i ahve a form in that visitors can type their information and their website address. but when they give their website adddress like http:www//sitename.com it wont hyperlink. please anybody help me how to hyperlink taht one? thanks

Member Avatar for Phaelax
0
148
Member Avatar for kawk

Can anyone point me towards a good tutorial or book for learning PHP? Thanks.

Member Avatar for Phaelax
0
101
Member Avatar for mark1048

Hi, I have the following simple test script: [CODE]<?php $links = array('URL'=>'www.google.com'); print("$links['URL']"); // compilation error print("$links[URL]"); print($links['URL']); print($links[URL]); // execution warning ?>[/CODE] But two lines are giving me problems. Can any one help to explain? Thanks. --Mark

Member Avatar for mark1048
0
318
Member Avatar for J_Search

Can anyone help the noob? [PHP]$logfile= 'log.txt'; $IP = $_SERVER['REMOTE_ADDR']; $logdetails= date("F j, Y, g:i a") . ': ' . '<a href=http://dnsstuff.com/tools/city.ch?ip='.$_SERVER['REMOTE_ADDR'].' target=_blank>'.$_SERVER['REMOTE_ADDR'].'</a>'; $fp = fopen($logfile, "a"); fwrite($fp, $logdetails); fwrite($fp, "<br>"); fclose($fp); [/PHP]As you probably know the code writes the text, IP address, and html code to a text file …

Member Avatar for J_Search
0
196
Member Avatar for sybil

Running PHP v5.0.4 (and I'm a newbie to php) I am setting up functions for the database and the only bit of code in the file that works is the bit that is commented out! I've tried the variables with "var " in front to declare them explicitly, I've taken …

Member Avatar for sybil
0
144
Member Avatar for paradox814

so I'm looking at the [URL=http://php.he.net/manual/en/function.setcookie.php]PHP docs[/URL] for setcookie and this is what I see: [PHP]bool setcookie ( string name [, string value [, int expire [, string path [, string domain [, bool secure]]]]] )[/PHP] they say if you want to have the cookie expire when the browser closes …

Member Avatar for Lafinboy
0
881
Member Avatar for mark1048

[b]Introduction and Installation of PHP [/b] [B]Intro[/B] This tutorial describes: [INDENT] What is PHP. Download PHP binary version for Windows. Writing the first PHP script. Installing PHP on IIS as CGI.[/INDENT] [b]What Is PHP? [/b] PHP stands for PHP: Hypertext Preprocessor, a recursive acronym. It is mainly a Web server …

0
540
Member Avatar for terence sharp

i have made a script that adds to a tabel in mysql, one problem is, even though it echos that it worked. it doesnt add them :( [php] <?php $dbhost = 'localhost'; $dbuser = 'tezzana_cams'; $dbpass = '**********'; $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql'); echo …

Member Avatar for chrisbliss18
0
82
Member Avatar for michael123

I have date value saved in Mysql DB, with format "dd.mm.yyyy", now I want to delete all records that date is older than 10 days from today, how can I do that in php? is there php function can calculate previous date? thanks for any help.

Member Avatar for Lafinboy
0
60
Member Avatar for paradox814

I am trying to create a script and I want to be able to say [php]require "~/functions/functions1.php"; require "~/functions/functions2.php"; require "~/functions/functions3.php";[/php] but php doesn't seem to understand what the tilde means (and yes this for a linux server). Is there any way I can specify the home dir without actually …

Member Avatar for paradox814
0
198
Member Avatar for terence sharp

ok so i need a simple php script, i will give credit to anyone who helps :) --------- cam.php?camera_ip=192.168.2.115 when page loads it loads a windows media player applet thing viewing the media stream at 192.168.2.115 and if its changed to cam.php?camera_ip=192.168.2.169 then it views stream at 192.168.2.169 i need …

Member Avatar for chrisbliss18
0
147
Member Avatar for homeshow

Re: IIS & PHP configuration-PHP.ini instructions ignored My server setup: Win2k, IIS5.0, PHP 4.0.10 running as ISAPI Problem 1: PHP.ini settings ignored. Not too sure how to address this one. I've tried changing some settings in the PHP.ini file. Some just do not seem to take. Example ~ there's a …

0
137
Member Avatar for homeshow

Re: IIS & PHP Setup question-Configuring for multiple websites~ My server setup: Win2k, IIS5.0, PHP 4.0.10 running as ISAPI. Virtual servers (websites) each set up with individual IP addresses. In IIS, each site is individually set up to use PHP as opposed to having PHP set up at the top …

0
73
Member Avatar for Lexani

Im lost on how to install a forum on my website, my hosting offers it but i cant figure out how to get it on my site. it would be great if someone could help me gettin a forum on this site [url]www.Nexzani.com[/url] :cool:

Member Avatar for Lexani
0
271
Member Avatar for ashneet

Can anyone tell me where i can find better instructions for installiation of php on a Fedora 4 Linux as the ones that are provided on php.net are not very clear.

Member Avatar for ashneet
0
191

The End.