39,316 Topics

Member Avatar for
Member Avatar for <M/>

I have an error message that is supposed to show if you forget to finish filling out the captcha form, but unfortunatly it shows on the very top of my site right when you enter the page... I don't want it to do that... I want the error messages to …

Member Avatar for Will Gresham
0
187
Member Avatar for mozan

hi here is a page for up load it has an upload script in it but it upload from computr. I want to upload from other servrt like transloader please check the script and tell me what should be chande thanks here is script [ICODE]<? //****************************************************************************************************** // ATTENTION: THIS FILE …

Member Avatar for arevindh
0
329
Member Avatar for <M/>

I am using reCaptcha and for some odd reason, I keep getting this error: **is_valid) { echo "You got it!"; } else { # set the error code so that we can display it $error = $resp->error; } } echo recaptcha_get_html($publickey, $error); ?>** Can someone explain to me what is …

Member Avatar for <M/>
0
253
Member Avatar for Yorkiebar14

Hello, I have this code: mysql_query("UPDATE users SET BasicLevel = BasicLevel +1 where username='Admin'"); but its not increasing the integer. The field names are correct as well as the username. Can anyone help me? And yes, I am connected to the database.

Member Avatar for moneeshot
0
124
Member Avatar for kedar9

Hi, I am planning to go for a php certification. Since I do not have a proper work experience, a certification will help me build my portfolio. So, I was planning for Zend certification. Is it worth taking or is some other certification (like w3schools) better? Anybody here who got …

Member Avatar for Nicolo
0
274
Member Avatar for maki.tabasa

i have this main_login.php code <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <table width="300" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <form name="form1" method="post" action="checklogin.php"> <td> <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF"> <tr> <td colspan="3"><strong>Member Login </strong></td> </tr> <tr> <td …

Member Avatar for Will Gresham
0
258
Member Avatar for yoyo12345

Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster. Error 404 localhost Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4

Member Avatar for Squidge
0
312
Member Avatar for James singizi

hello, im using a wamp server and i want to sent an email and after writting the code, im getting an error that says 'warning: mail() [function.mail]: failed to connect to mail server at localhost port 25, verify your SMTP and smtp_port setting in php.ini or use ini_set().' Im not …

Member Avatar for LastMitch
0
293
Member Avatar for asaidi

Hi i m trying to output pdf file from html..this html is a result of a php script i have this error from html2pdf impossible to load the image litre.php?start=2012-09-1&end=2012-09-30&client=13 any help please

Member Avatar for LastMitch
0
8K
Member Avatar for Arjun_Sarankulu

I have a crontab job in which data from csv file get insert into mysql table at regular interval. Now i want the same table data to be inserted in ms sqlserver database. I know i can write code again to take data from csv to ms sqlserver database. But …

Member Avatar for rayidi
0
145
Member Avatar for amit.chaudhari.71

i want to create a text report and i have use this coding:- <?php $f=fopen("c:\amit.txt", "wb"); // adding header $text="\n Your text to write \n ".date('d')."-".date('m')."-".date('Y')."\n\n"; fputs($f, $text); fclose($f); ?> which results me some thing like when i open it in windows [i.e my computer->c drive->mit.txt] :- > []Your text …

Member Avatar for amit.chaudhari.71
0
211
Member Avatar for Riu 2009

Hi everyone :) im a new in php and mysql and doing my final year project..i want to my teacher module to create quizes for students and then want to further grade them after evaluating the marks..i want to put fill in the blanks, MCQs and true false in those …

Member Avatar for Riu 2009
0
129
Member Avatar for shlokka

hi guys, i have a rege code that looks to see if a block of text has a link. i have modded it to show the link as an image if it exists (badly i know this method isnt very good) what i need to do is check if the …

Member Avatar for diafol
0
202
Member Avatar for Priti_P

Hi, I have a doubt as if i have a "xml format" text message in my email body then how can i cobert it into an array so that i can fetch each node form it for example: my email body containts xml format: <?xml version="1.0" ?> <candidate> <name>Superduper automation</name> …

Member Avatar for Priti_P
0
2K
Member Avatar for andyy121

<?php if (isset($_POST['generate'])) { $charset = 'absdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYZ0123456789%$#-()*&.,'; $generated_password = substr (str_shufle($charset),0, 12); } ?> <form action ="password generator" method="post"> <input type="submit" name="generator" value="Generate"><input type="text" value="<?php if (isset($generated_password)) {echo $generated_password; } ?>"/> </form> when i click in generate button it show me this: Object not found! The requested URL was not …

Member Avatar for yoyo12345
-1
163
Member Avatar for James singizi

i need help ordering my data from a database using time in ascending order.

Member Avatar for James singizi
0
103
Member Avatar for Clanstrom

I need to pass a variable from page1 to page2 without URL, or without making the variable visible to users, to I figured, I might use the hidden field method, but I can't do this with the following script <form method="POST" action="page1.php"> Username: <input type="text" maxlength="25" name="username" value="" class="i_login" /> …

Member Avatar for moneeshot
0
247
Member Avatar for double_cola

Good afternoon everyone. I need to write out a simple validation. It needs to validate only if a user enters certain keywords. Here what I have so far: if(!preg_match("Indiana, Ohio", $state)) { $errors .= "You have entered the wrong state."; } What would be the correct preg_match function to only …

Member Avatar for double_cola
0
187
Member Avatar for Evil Genius

Hello, I'm working on a project who's basic idea is that people register as a manager and upload a file to their account, then they invite users to view their documents (online) or download them, or allow the users to share more files with the parent who invited them. The …

Member Avatar for LastMitch
0
203
Member Avatar for mupfumisit
Member Avatar for LastMitch
0
41
Member Avatar for double_cola

Hello, I am using a php function to merge 2 pdfs and it works great. <?php include 'PDFMerger.php'; $pdf = new PDFMerger; $pdf->addPDF('testFile5.pdf', 'all') ->addPDF('testFile57.pdf', 'all') ->merge('download', 'samplepdfs/TEST2.pdf'); ?> I get a merged pdf as soon as the page loads. I need the ability to make this merge happen when …

Member Avatar for adam.adamski.96155
0
2K
Member Avatar for moon786

hi i develop a software in PHP . but when i press back button which is located at the left top of browser. then there is error. infact it is not coding error. it is such type of error like (document expired) so after that when i refresh the page, …

Member Avatar for adam.adamski.96155
0
90
Member Avatar for davy_yg

Hello, I am trying to create a page with link like such: page.php <a href="#1">pic1</a> <a href="#2">pic2</a> the first page willbe page.php#1 and the second one will be page.php#2 In order to activate page 2 what file name should I create for page.php#2? It has to be a different page …

Member Avatar for Bachu
0
116
Member Avatar for ratanji

when new row inserting into mysql, then i want to dislplay some popup notification for few seconds in some page. so pls help me anyone ? thanx in advance :)

Member Avatar for rayidi
0
699
Member Avatar for zido85

Hi,i have an xml files that looks like this [code] <?xml version="1.0" encoding="utf-8"?> <photogallery ID="8" name="Residential"> <album ID="5" name="Leb" photogallery="Residential" date="29/10/2008" location="Lebanon" architecture="Roman" img="thumbnail_1245677486.jpg"> <picture ID="Leb" path="thumbnail_1245670921"/> </album> <album ID="6" name="Leb" photogallery="Residential" date="29/10/2008" location="Lebanon" architecture="Roman" img="thumbnail_1245677486.jpg"/> <picture ID="Leb" path="thumbnail_1245670921"/> <picture ID="Leb" path="thumbnail_1245670921"/> </album> <album ID="7" name="Leb" photogallery="Residential" date="29/10/2008" location="Lebanon" architecture="Roman"/> …

Member Avatar for redblue35
0
3K
Member Avatar for Khav

Hi I am developing my own image hosting script and i want to add api image upload.However i have no idea of how to create API support at this moment.I particularly like the tinyurl api . How can i create a similar api so that users can upload images to …

Member Avatar for pritaeas
0
213
Member Avatar for bappi1987

I have three combo boxes in my program... look like this --> box1 number letter box2 1 - 2 - 3 - 4 - 5 - box3 1 - 2 - 3 - 4 - 5 - How can i do it work in this solution ? such as... in …

Member Avatar for Bachu
0
196
Member Avatar for andyy121

foreach($search_exploded as $search_each) { @$x++; if($x==1) @$construct .="keywords LIKE '%$search_each%'"; else $construct .="AND keywords LIKE '%$search_each%'"; } i just wont to understand this foreach ($search_exploded as $search_each) what is the meaning

Member Avatar for Bachu
-1
99
Member Avatar for groma1

hi, am recieving an undefined offset error for $month and $year line after the explode function. This happens only when the form is blank and submitted. $dob="dd/mm/yyyy"; $dob= $_POST['dob']; function icPrintINPUTbirth($label,$name,$maxlth,$size,$value) { print '<label>'.$label.':<input type="text" name="'.$name.'" maxlength="'.$maxlth.'" size="'.$size.'" value="'.$value.'"/></label>'.''; } icPrintINPUTbirth("Date of Birth (dd/mm/yyyy) ","dob",10,10,$dob); $arr=explode("/","$dob"); $day=$arr[0]; $month=$arr[1]; $year=$arr[2]; if(@checkdate($month, …

Member Avatar for pritaeas
0
1K
Member Avatar for persianprez

So I have a text file with sets of 4 items I want to go in different arrays. I've tried the following but without success. <?php $urls="list.txt"; $page = join("",file("$urls")); $kw = explode("|", $page); $count = 0; $links = array(); $images = array(); $widths = array(); $heights = array(); for($i=0;$i<count($kw);$i++){ …

Member Avatar for Bachu
0
182

The End.