39,323 Topics

Member Avatar for
Member Avatar for cwarn23

Hi and I have been working on an image uploader but need to be able to convert tiff files using php. From my understanding there is the gd library which doesn't support tiff files and the [URL="http://au.php.net/manual/en/function.exif-thumbnail.php"]exif library[/URL]. Does anybody know how I can convert a tiff file to a …

Member Avatar for cwarn23
0
798
Member Avatar for rajeesh_rsn

Hai friends, I wanna pass php variable through url using the GET method. I know like this [ICODE]www.somesite.com?name=thename[/ICODE] And works well but in many web sites I found they passing their variables like this [ICODE]http://www.flickr.com/photos/chocks[/ICODE] Without the question mark ... I wonder how to do this... Please advice me how …

Member Avatar for rajeesh_rsn
0
106
Member Avatar for whiteyoh

Hi all, The following should display a record count, however im getting to a blank screen. Can anybody see why this query wont display anything? [code] <?php $link = mysql_connect("localhost", "uname", "pword"); mysql_select_db("dbname", $link); $result = mysql_query("SELECT ID FROM tbl_sellers", $link); $num_rows = mysql_num_rows($result); echo "$num_rows Rows\n"; ?> i get …

Member Avatar for benqus
0
97
Member Avatar for epicasian

Hello, I am trying to have all my body text for a news website I am building, inside a MySQL DB, and when I echo it out in PHP, it shows symbols like � instead of ". Can anyone help me? Thank you, EpicAsian P.S. I've tried the ASCII, ARMSCII8, …

Member Avatar for epicasian
0
132
Member Avatar for Alba Ra

As mentioned is this [URL="http://www.daniweb.com/forums/thread255320.html"]thread[/URL] I intend to create a collection of functions that use only core functions (as the [URL="http://www.php.net/manual/en/ref.strings.php"]String[/URL] functions) to maximal compatibility. (See the [URL="http://sites.google.com/site/xmlxslt4php/"]website[/URL] - anyone is invited to participate.) The first task will be to parse a string (containing the XML data), break it down …

Member Avatar for ShawnCplus
0
514
Member Avatar for Mujahid158

Hello, I'm running a PTC website in which I'm unable to edit the referral field. Here is the code: [CODE]Referrer (if any):<br> <input type="text" size="25" maxlength="15" name="referer" class="form" autocomplete="off" value="<? if($_POST["referer"]) { print $_POST["referer"]; } else { echo securedata($_GET["r"]); } if($_POST['referer'] or $_GET['r']) { print "\" readonly disabled"; } ?>">[/CODE] …

Member Avatar for compusolver
0
101
Member Avatar for CFROG

I'm having a bit of an issue that I can't quite figure out. I set the limit for MAX file size for file uploads to about 500 kb. - responds with an error msg if you exceed the file size. If you try to upload something slightly larger ... say …

Member Avatar for vaultdweller123
0
117
Member Avatar for nkp101

[b]Split from - [url]http://www.daniweb.com/forums/thread98963.html[/url][/b] hi. i want to add an email system to my website. is it possible to provide a email id to each user like [B][COLOR="Red"]people1@mysite.com[/COLOR][/B] plz help me ..

0
42
Member Avatar for vjw757

im trying to insert paypal donation code into a php file. i keep getting errors. so here is the code i have to work with. [code] <? begin_block("Donate"); echo "<BR><BR><CENTER>This would need to contain your donation code, or something. maybe even a paypal link</CENTER><BR><BR>"; echo "<a href=\"member.php?mid=$row[mid]\">$row[login]</a>"; end_block(); ?> [/code] …

Member Avatar for cereal
0
148
Member Avatar for nats01282

Hi all, I am creating a online c.v but do not want it open to every one so i have made a simple login file but want the page to re-direct when the login is correct, [CODE] <?php $user = "user"; $pass = "pass" if ($_POST["username"] != $user && $_POST["pass"] …

Member Avatar for mktgmgr101
0
96
Member Avatar for khadrani_arif

Hi, What I want is once the user does the registeration on clicking the register button an email is sent to the email address with the activation link, untilll and unless the user clicks on that activation link, user's account does not activate. How can I do this. Thanks in …

Member Avatar for mktgmgr101
0
103
Member Avatar for takeshi

Guys, there's a problem lies on my code...cant display the image in viewing candidates..i already put the code[ICODE] <img src=\"".$row['image']."\"> [/ICODE]as what my friend here said in my code in viewing but it seems it didn't work out.. here's my adding record.. [B]add_new.php[/B] [CODE] <?php /* NEW.PHP Allows user to …

Member Avatar for takeshi
0
76
Member Avatar for Krstevski

Hello... i have problem with UTF-8 encoding... My database and table collation are utf8_general_ci, and when I add new insert query in the database is ok, but when I'm trying to print i got -> ???? The results are: In the database -> Дамјан Крстевски In the browsers -> ?????? …

Member Avatar for JRM
0
105
Member Avatar for jambrain

Hi guys, im very new to html and php and all this but my boss has set me a task of impressing him with the knowledge i have over the weekend, my problem is i dont have my own webserver so im trying to make an mp3 upload form. Im …

Member Avatar for cwarn23
0
75
Member Avatar for david cashin

hey all, just starting with php, and was wondering if i could create a new web page by using a variable from a php script in a php script. For example, the user enters a word, and then a web page is created that is called that word. so user …

Member Avatar for david cashin
0
223
Member Avatar for xylude

I am remaking a site that was built in RoR, I was wondering if anyone could help me with the SHA1 that they used to encrypt the passwords. How do I add the salt into the encryption in PHP? Here is the rails script: [code] def self.encrypt(password, salt) Digest::SHA1.hexdigest("--#{salt}--#{password}--") end …

Member Avatar for diafol
0
84
Member Avatar for Bender12

My knowledge in php is not good and I need help. I have this [URL="http://phpforms.net/php-forms.html"]php form[/URL] but do not know how to insert in it the captcha. Thanks in advance!

Member Avatar for vaultdweller123
0
72
Member Avatar for teranet

Hello there, i need little bit help. I want to build voucher system. It should be like this user choose 3 vouchers, give the recipient details, and it goes to secure payment gateway. If the payment is completed then the system builds the pdf and sends it from the user …

0
45
Member Avatar for Jahsun

Hi to the community. I hope this is ok to post here. First of all i would like to say that i am a newbie and i am trying to learn php on my own. I am looking into w3school and a few other sources i found here on Daniweb. …

Member Avatar for Jahsun
0
71
Member Avatar for aajay05

I have a php code that forms a dropdown using a mysql table. I am using the dropdown to search and filter results in a page. The problem that I have is that it only shows the values from the table, I also need an option where I can leave …

Member Avatar for vaultdweller123
0
181
Member Avatar for 16pradeepkumar

i need a way to export data on the php form to excel on a click . how can i do this

Member Avatar for 16pradeepkumar
0
96
Member Avatar for junkelse

i have script php game programing u can cek this web.. <snipped>

0
43
Member Avatar for baabdaam

Hi there, Actually my problem is I want to get the date difference if date return of book more than one month add $10 if not leave the amountoffine to $0 and if the loaner took the book and return it after 3 months I want the code to add …

Member Avatar for vaultdweller123
0
313
Member Avatar for naveenbutola

this is to test [ICODE]<?php class test() ?>[/ICODE] [TEX]test agaian[/TEX] [CODE]class test()[/CODE]

Member Avatar for vaultdweller123
0
90
Member Avatar for xuexue

hi guys, im using linux opensuse as my web server, now i installed php there accdg to the manual, moreover, i also installed php to another computer having windows as its platform, now i compared the phpinfo() of the both pcs, ive noticed that there are some modules available on …

Member Avatar for cwarn23
0
132
Member Avatar for lonestar23

I have file 123.php which produces dynamic information upon excecution and need 123.php to copy it's output to file "abc.txt" How would I go about this in a unix environment? Thanks in Advance!

Member Avatar for lonestar23
0
166
Member Avatar for aneeka

Good day! How can i display the data from Mysql with the least value of primary key and when a user clicks the next button the next to the least data will appear and then the next and so on? Please help me here, thanks!

Member Avatar for darkagn
0
66
Member Avatar for OmniX

[link]http://php.net/manual/en/function.isset.php[/link] Clearly states that "isset — Determine if a variable is set and is not NULL"? I have been trying to use isset() to check values for NULL and it still appears yet when I use != NULL then it works. I think the fine line is in various instances …

Member Avatar for diafol
0
113
Member Avatar for iqbalhosan

hi all, i want to upload large video files using php and i can do that by editting php.ini file. but how can i do that without changing php.ini file?? advance thanks iqbal

Member Avatar for cwarn23
0
117
Member Avatar for phouse512

Hello, I was working on a small project to make me think, and I ran across a problem when I was running a page. Instead of any error coming up, the page just produced the following, which was part of my code: [code]0 && $user_health > 0) { $monster_health = …

Member Avatar for phouse512
0
70

The End.