39,323 Topics
| |
how can i pass value of textbox into code iginator controller after submit. i get Disallowed Key Characters message. i have array of controls. or if you could provide some tips on how to get the posted values in controllers . in view [CODE] <form method="post"> <input type="text" name="Insert['name']"/> <input … | |
Hi, I want a Jquery based Ajax solution for Uploading, Cropping and Saving Images... I have been trying to find it for 3 4 days but I am only finding tutorials and solutions with postbacks when cropping images. Please help. thanks | |
How can I install PHP 5 on Apache Tomcat 5.5 :?: Please reply ASAP :!: | |
I just uploaded my php files on my webhost, and begi editing the links in my index.php. And when I tried viewing my site, i receive the following errors. [CODE] Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/a4478641/public_html/index.php on line 3 Warning: include(http://abelingaw.site90.com/phavi/common.php) [function.include]: failed … | |
| Hi everyone. I watched Alex's PayPal IPN series and I was testing it on the PayPal IPN Sandbox and it won't work. Here is my code. [b]verify.php[/b] [CODE]<br />To verify your account click the button below.<br /><br /> <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="upgrade@megainstrumentals.co.uk"> <input … |
I have a bit of code I'm using to generate a report from my MySQL database - what I want to do is email it out to multiple recipients (whose email addresses are also stored in the database). The email addresses (up to 12 of them) are located in fields … | |
This is my first of I figure many threads. Before this year between Photoshop and Dreamweaver, I made HTML websites. I upgraded to notepad++ and Gimp/Photoshop and continued making HTML websites with occasional PHP for forms and such. I have my own private development server and it's not a recycled … | |
hi guys, i just want to add selected products into cart without payment gateway process.i want the coding tnx | |
hi, i am trying to make my own 'truncate' function for strings, in which if the string is longer than desired length, i should truncate and add '...', but if the truncation occurs in the middle of a word, there should not be any word pieces, just whole words, so … | |
Hello Guys, Can anyone help me to get time difference in PHP? For example: [code] <?php $Start = "09:18 AM"; $End = "04:10 PM"; $diff = ???? [/code] Can anyone show the code for $diff? thanks in advance and more power. | |
hi dear ! i would like to ask on how to create list box in php .. can u give me a full sample code .. from the start til end? thanks so much and more power to to u | |
As I am adding google +1 button and such things, i am getting new stuff to add to my opening html tag. It is a real hassle having to go back and add the new links or piece of code inside the opening html tag. Can I feed the open … | |
Hi peeps I wonder if someone can tell me about having includes inside of includes. Basically I have a $code_block =. "some small content" but inside this small content, I need to refer to another include, something like this: "page.php" if (...){ $display_block = "text text"; }else{ include('../code_block.php'); $display_block = … | |
Hi .. i need some help here .. i'm a 3rd year student of computer science .. and i'm pretty new to these stuffs .. my problem is i have to validate the the checkbox and i have to make computations from it .. here's the code : [CODE]<h1><center>LOAN AMOUNT</center></h1> … | |
I have a friend with a dinner and he wants to take his iphone and add up how many drinks are being had by each specific person at the bar and store them with date stamps while adding how many drinks they have had total in the life of their … | |
Hi there, I have a question related to this topic, i dont know if I should make a new thread or how to make a new thread. I am making an adult website and I just need a disclaimer and 2 buttons one that verifies age or one that redirects … | |
PHP is a Server-Side Language, which means It processes commands through the server, and delivers the results either in HTML, or doing a certain server-side command, such as Creating a MySQL Database. You don't need to know HTML to put Text on a page with PHP in SOME Cases. Here … | |
i m working with sessions.. i have problem with sessions here is my coding " <?php session_register("admin_id"); if($_SESSION["admin_id"]=="") { header("location: login.php"); } ?> " i want to register a session but when i use session_register function i got error ""Deprecated: Function session_register() is deprecated in C:\xampp\htdocs\xampp\c\admin\session_check.php on line 2"" help … | |
I have a form with checkboxes [CODE]<input type="checkbox" name="yo[1]" value=1 <input type="checkbox" name="yo[2]" value=1 <input type="checkbox" name="yo[3]" value=1[/CODE] I want to to insert values into db exactly like this create table tablename yo1 tinyint default 0 , yo2 tinyint default 0, yo3 tinyint default 0 insert into table set yo1=value, … | |
I am getting a [B] frustrating[/B] error with my PHP Code. I am not using short tags, or anything else that causes this error. I checked the brackets, they are all in place. Can you help me? [CODE]<?php require_once('recaptchalib.php'); require_once('config.php'); $privatekey = CAPTCHA_PRIVATE_KEY; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); … | |
Hey guys, I'm looking for a way to build a 404 page that shows what page they were looking for, how they could possibly fix it, and to send me an email at [email]errors@mydomain.com[/email].. How would I do this w/ php? My current 404 is located at: [url]www.stellarrecharge.com/typewhateveruwant[/url] -Jake P.S … | |
So, i saw these websites which create graphically rich text. You put simple text , hit "start" and sysem generate completely new text with different colors. Something qhich require photoshop tobe used. I want to create a website around this same concept. I looked into some options and imagemagick came … | |
Hi Guys, Can you help me out create a real time quiz. i have no idea where to start so please help me. thanks a lot. | |
[CODE]<form id="form" class="formular" method="post" action="answer.php"> <?php while($row = mysql_fetch_array($result)) { echo "<input type=hidden name=no value=".$row['no']."/>"; echo "<tr><td rowspan=2 bgcolor=lightblue width=20 align=center>".$row['no']."</td>"; echo "<td colspan=4 bgcolor=lightblue width=740>".$row['question']."</td></tr>"; echo "<tr>"; echo "<td width=50> <input name=".$i." type='radio' value='a' />".$row['a']."</td>"; echo "<td width=50> <input name=".$i." type='radio' value='b' />".$row['b']."</td>"; echo "<td width=50> <input name=".$i." type='radio' … | |
how to disable page refresh and back operation in a webpage? or in a php page? | |
Hello, I need to calculate dates, e.g: if i have this date on string "12-07-2008" and I want to add to this date 17 month. How can I calculate this date. are the a func that do this calculate ? or I nedd to write it ? Thank you | |
sorry if this seems silly, i am trying to learn php and mysql i have tried a few times and all i do is crash the code. What is am trying to do is change the cell background colour to green if echo $row['s1']; is "2" and red if "3" … | |
Hey, I am creating a website with two forms which contain checkboxes and displays and sends the values input by the user to display on the page as well as save onto a database. The languages I'm using are xhtml, php and sql. The problem for me is that only … |
The End.