39,320 Topics
| |
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, … | |
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 … | |
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] … | |
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 … | |
[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 .. | |
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] … | |
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"] … | |
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 … | |
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 … | |
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 -> ?????? … | |
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 … | |
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 … | |
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 … | |
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! | |
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 … | |
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. … | |
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 … | |
i need a way to export data on the php form to excel on a click . how can i do this | |
i have script php game programing u can cek this web.. <snipped> | |
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 … | |
this is to test [ICODE]<?php class test() ?>[/ICODE] [TEX]test agaian[/TEX] [CODE]class test()[/CODE] | |
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 … | |
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! | |
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! | |
[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 … | |
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 | |
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 = … | |
i m trying to extract multiple rows and print it in a single line in a web page. My code [CODE]while ($line = mysql_fetch_array($app, MYSQL_ASSOC)) { echo "<tr><td>"; echo "<a href=AssignedUpdateForm.php?app=".$line['App']. ">".$line['App']."</a></td>"; echo "<td>" . $line['firstName'] ." ". $line['surname'] . "</td>"; echo "<td>" . $line['ServerName'] . "</td>"; echo "</tr>"; }[/CODE] … | |
Hi all. I'm trying to implement a rotating image system written in Javascript into a PHP website. The PHP page and the Javascript both work fine independently, but integrating the JS is proving tough and giving me errors. Here is the top part of the PHP page: [CODE]<? include ("./application.php"); … | |
Hi can anyone explain what exactly this function does [CODE] tabs(array())[/CODE] for eg. [CODE]<?php tabs(array("grid.php"));?>[/CODE] |
The End.