39,402 Topics

Member Avatar for
Member Avatar for Milind

Hello Everybody, Can anyone help me? I want to download the phptriad.exe 2.2 I have I want php 5 with php triad please let me know and give me the url if anyone knows this... thanks in advance... Milind

Member Avatar for PoA
0
122
Member Avatar for leprakhauns

<form action="php.php?b=<?php echo $b; ?>" method="post"> Enter your news/rumor: <input type="text" name="name" /> Enter your news/rumor: <input type="text" name="website" /> Enter your news/rumor: <input type="text" name="comment" /> <input type="submit" /> </form><br /> then on php.php: $t=$_GET["b"]; mysql_connect("db.lepslair.com", "username", "my password"); mysql_select_db("lepslair"); mysql_query("INSERT INTO nonmembers($name, $website, $comment)) VALUES(name, website, post_text) "); …

Member Avatar for leprakhauns
0
136
Member Avatar for aarya

In some of the site i have seen rss feeds for example ezinearticles.com. i can see rss feeds. please any body tell what is the use of that? thanks

Member Avatar for eliauction
0
160
Member Avatar for aarya

i ahve site in which people can submit the article for free. but now i am trying to add feature in that article distribution. if person pay me $50 i can distribute his article to many sites. so i need the site such taht he can pay through credit card …

Member Avatar for aarya
0
123
Member Avatar for tristan17

Hi PHPers, Firstly, a [COLOR=Red]Very Happy New Year To ALL!![/COLOR] Hope everybody enjoyed this festive season :cheesy: Back to work, sigh... I am encountering this problem, below is a code which i have written, but the page only displayed the result of my code which is line 27. But when …

Member Avatar for RamiroS
0
120
Member Avatar for joneq

Hello to all,and happy new year. I have simplemachines forum 1.1 rc1 installed on my site. I was just in the admin section doing really nothing and all of a sudden without really doing anything I got this when I clicked on something. It was not a delete buttom or …

0
80
Member Avatar for eliauction

i wrote this basic codes to check against gd library existence: [PHP]$image = @imagecreate(480, 250) or die ("Cannot Initialize new GD image stream"); $background_color = imagecolorallocate ($im, 0, 0, 0); $text_color = imagecolorallocate ($im, 255, 0, 0); imagestring ($im, 255,255,0, "A Simple Text String", $text_color); header ("Content-type: image/gif"); imagegif($im);[/PHP] result: …

Member Avatar for eliauction
0
103
Member Avatar for Stick

I have a website that lists customer's jobs that have shipped. When they click on the carrier's name it links to the carrier's website, but it uses the current window. Can I force the link to come up in a new window so my customer can see both my site …

Member Avatar for Stick
0
121
Member Avatar for blackraven

For some reason i cant get the mssql function to be inabled. When i go to view the phpinfo.php that i made to view the extension that are enabled it gives me an error saying that it cant load the extension. So i try to enable the pdf.dll in php.in …

Member Avatar for blackraven
0
93
Member Avatar for Kris111

I belong to a forum on forumer.com. Recently, we had a member sign up (it's a support group for parents of premature babies) using STOLEN pictures from other members' websites and this new member was trying to pass these babies off as her own. Although it is NOT against forumers …

Member Avatar for DMR
0
155
Member Avatar for paradox814

Ok so I am trying to create some BB code from scratch, and my big problem is the \S and \s and .* are very greedy. For example, when I try to use bb code on something like this: [php]$text = "[b]abcdefg[/b] !@#$%^&* [b]0123456789[/b]"; $text = preg_replace("/\[b\](.*)\[\/b\]/","<b>\\1</b>",$text); //same thing: //$text …

Member Avatar for Ooble
0
136
Member Avatar for Amunra

I know how to create standard php files, but how would I add the ?blabla to the end of the url. IE my forum url looks like this /index.php?act=home How would I make it look like that? Thanks

Member Avatar for Amunra
0
162
Member Avatar for ashneet

Well i trying to make a logout link that will exit frames to go to normal html page: when someone logout this command is run 2 transfer to next page: [PHP]header("Location: index.php?result=0"); [/PHP] what i am trying to do is exit the frames so that the index file is showed …

0
60
Member Avatar for xxplosive

I have been trying to insert google adsense ads to my website but everytime i try to add the code it says that thel HTML tags im using are not allowed. I know this code is javascript but i just cant seem to use it on my site! i emailed …

0
88
Member Avatar for steven01

How can I make media photos at my site?When click them,the medias play.Which sofware should I use?Can you tell me how?

Member Avatar for steven01
0
131
Member Avatar for kulinh

i write a script to display visitor IP address. I use this : $HTTP_SERVER_VARS["REMOTE_ADDR"] but my visitor say he has two IP different when show two website. With showmyip.com he has : 222.252.36.104 With my script he has : 203.162.1.49 and he say that the IP with showmyip.com is real …

Member Avatar for kulinh
0
107
Member Avatar for michael123

If I have an array $abc=[0,0,0,1,0,2]; how to change it to $abc=[1,2]; (remove all 0), is there php function can handle that? thanks.

Member Avatar for digital-ether
0
98
Member Avatar for Lexani

to help me add some new features to my dating site, im tryin to add video chat, if u know how to do this or have some good idea pm me

Member Avatar for digital-ether
0
304
Member Avatar for tristan17

Hi, I am tryiny to write a program which will allow me to upload a image and after which i had uploaded the image, I will be able to calculate the RGB values of the image which i have uploaded. The code works this way: //user to upload image file …

Member Avatar for digital-ether
0
139
Member Avatar for rjbearcan

This is my first time posting and I apologize for already beating a dead horse with resizing images using PHP but I am constantly getting an error. I have been to: [URL]http://www.daniweb.com/techtalkforums/showthread.php?t=1722&highlight=PHP+image+resize[/URL] and [URL]http://www.daniweb.com/code/snippet250.html[/URL] and I always get this error Call to undefined function: imagecreatefromjpeg() Any suggestions? Thanks a lot

Member Avatar for digital-ether
0
57
Member Avatar for ashneet

OK I wrote this query but i keep on getting error on it: [PHP]$query2 = "INSERT INTO ATTENDANCE (Class,Time,T_User_Name,S_Number,Absent,Date) VALUES ('$Class','$S_Type','$_COOKIE[User]','$S_Number','1','$Date')"; [/PHP] the error i get from php logs is: [28-Dec-2005 17:51:07] PHP Parse error: parse error, unexpected T_VARIABLE in /test/teachers/take.php on line 27 ------------------------- line 27 is the query …

Member Avatar for ashneet
0
108
Member Avatar for Lexani

hey i own two forums that are the same, one is a free service with ads and stuff but its really good, i like all the features it has added to the admin panel [url]http://www.createforum.com/phpbb/index.php?mforum=ontarioforumtk[/url] then i have another one thats the same but paid for and hosted on one …

Member Avatar for pc2forum
0
263
Member Avatar for tristan17

Hi guys, I have written a simple code here that should be able to display the image "tulips" from my database? But it does not work, wondering what is wrong with the code? <?php // database connection $host = "localhost"; $user = "user"; $pass = "password"; $db = "imagedb"; $table= …

Member Avatar for pc2forum
0
184
Member Avatar for namit

I am looking for a very simple calander function that just reads info from mysql or txt file what ever is handier Can anyone recommend a setup?

Member Avatar for pc2forum
0
148
Member Avatar for venetian_jigsaw

I am still a bit of a newb, but am getting the hang of webdev. My problem is in changing/updating a user's password. The good news is that I know I am hitting the mySQL table b/c I am able to see data appended. However, that's also my problem. When …

Member Avatar for RamiroS
0
167
Member Avatar for tristan17

Hi, I had written a small program in php, which will allow a user to upload an image to the database. My question is whether can i locate the directory of the image from where it was uploaded from? this is part of the code for uploading: " // Do …

Member Avatar for RamiroS
0
105
Member Avatar for namit

I have a directory full of pictures how do i shrink them? Have juse installed gd Can anyone help me?

Member Avatar for namit
0
183
Member Avatar for NilovSerge

Hi! In LDAP base I have some attrs by hierarchy: cn=attributes,cn=stubs,cn=lookups,cn=domain Inside this node there is a list objects: cn=PhysDevName, cn=LogDevName, cn=Location... I read to read them in an array I do: ... $ds=ldap_connect("localhost",389); // must be a valid LDAP server! if ($ds) { if (ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3)) { echo …

0
75
Member Avatar for Ashley

I'm kind of new to PHP. I wanted to know how to get my site to open in it's original url ie: [url]http://blah4site.com/name[/url] instead of [url]http://blah4site.com/name/index.php[/url] or having a slpash page and then going into the [url]http://blah4site.com/name/index.php[/url], when someone first visits the site. I hope this isn't too confusing. Here …

Member Avatar for Ashley
0
151
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
223
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
144
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
124
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
187
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
90
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
70
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
111
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
94
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
104
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
84
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
102
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
322
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
198
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
145
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
885

The End.