39,319 Topics

Member Avatar for
Member Avatar for pucivogel

I have a script that uploads documents, it uploads them in the destination folder, but not the info about the document. Pleasa help i need this as soon as possible. No errors show. <?php $UploadDirectory = 'C:/wamp/www/agenda1/uploaddok/uploads/'; //Upload Directory, ends with slash & make sure folder exist $SuccessRedirect = 'http://localhost:8080/agenda1/index2.php'; …

Member Avatar for broj1
0
399
Member Avatar for masocha

l have been trying to install pear for a long time now but cant get it to work. l am using VertrigoServ as my webs server and have it installed in my D drive. Can someone point me in the right direction a tutorial or something.

Member Avatar for broj1
0
188
Member Avatar for DaveyMoyes

Hi All, I have been configuring a monthly subscription Paypal IPN to collect monthly recurring payments from a membership website. I have my annual IPN working great. Just strugling with the monthly recurring payments. I have the following configured in my subscription button <input type="hidden" name="a1" value="' . $price . …

Member Avatar for LastMitch
0
318
Member Avatar for pritaeas

The following snippet will show, how you can pass a data array to a function, and generate a table with N columns. `$data` contains some dummy data, which can come from any data source. Then you call `createHtmlTable` passing the data, the number of columns you want, and a function, …

Member Avatar for LastMitch
3
530
Member Avatar for metjan.baduni

// This block grabs the whole list for viewing $my_id = isset($_POST['id']) ? $_POST['id'] : ''; $ped_list = ""; $sql = "SELECT * FROM `pedagogu`"; $result2 = @mysql_query($sql) or die($sql."<br/><br/>".mysql_error()); $pedCount = mysql_num_rows($result2); // count the output amount if ($pedCount > 0) { while($row = mysql_fetch_array($result2)){ $my_id = $row["ID_Pedagog"]; $ped_emri …

Member Avatar for broj1
0
312
Member Avatar for AARTI SHRIVAS

<html> <head> <title>PHPMailer - SMTP (Gmail) authenrication</title> </head> <body> <?php require_once('class.phpmailer.php'); $mail = new PHPMailer(false); // the true param means it will throw exceptions on errors, which we need to catch // - - - - - - - - - Email Configuration - - - - - - - …

Member Avatar for LastMitch
0
5K
Member Avatar for Wailintun

Hi!everybody,sorry for bother you again I created database as http://www.c-sharpcorner.com/uploadfile/satyapriyanayak/dfgd/ please check my code.here the code so far index.php <html> <head> <title></title> <script language="javascript" type="text/javascript"> function getXMLHTTP() { var xmlhttp=false; try{ xmlhttp=new XMLHttpRequest(); } catch(e) { try{ xmlhttp= new ActiveXObject("Microsoft.XMLHTTP"); } catch(e){ try{ xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e1){ xmlhttp=false; …

Member Avatar for diafol
0
429
Member Avatar for forexbulls
Member Avatar for davy_yg

Hello, I have this codes: <div id="contactform"> <div id="contactform"> <?php require_once('recaptchalib.php'); $error = array(); $name = strip_tags(@$_POST['name']); $email = str_replace(" ", "", strip_tags(@$_POST['email'])); $phone = str_replace(" ", "", strip_tags(@$_POST['phone'])); $message = strip_tags(@$_POST['message']); if (isset($_POST['submit'])) { if( ($name !='') && ($email !='') && ($phone!='') && is_numeric($phone) && ($message !='' ) ) …

Member Avatar for AARTI SHRIVAS
0
114
Member Avatar for lukas.vandendijssel

Hello, I know I shouldn't use mysql_. So I have a mysql_query which updates my table (for a hit counter). However, when I open the page, I get to see this: > You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version …

Member Avatar for lukas.vandendijssel
0
181
Member Avatar for naphets

I have a bash script that executes @ init level 3. I would like to "wrap" (for lack of better word) this bash script in a php script. Use the power of php to supress any output from the bash. Also display only the splash logos (like what you see …

Member Avatar for naphets
0
442
Member Avatar for ian111

php.ini file not being read Cannot get my php.ini file to be read. Running freebsd5.3 with apache2.0.53 with php5. php5 loades as a module. The server is runing fine with all sites working well. And the php scripts are being read fine as well. In fact everything is working fine. …

Member Avatar for Nika111
0
924
Member Avatar for cereal

> There is a vulnerability in certain CGI-based setups (Apache+mod_php and nginx+php-fpm are not affected) that has gone unnoticed for at least 8 years... read more: http://www.php.net/archive/2012.php#id2012-05-03-1

Member Avatar for LastMitch
2
521
Member Avatar for ebanbury

Hi I have successfully engineered a login.php system, complete with logout.php, forgotpass.php and the associated functions which go with that. My users can log in and log out of the system and go to the pages directed to them without a problem. I was then asked to create a second …

Member Avatar for ebanbury
0
127
Member Avatar for veedeoo

Hello Everyone, Please accept my simple and humble contribution. This script will validate if the user or visitor is a suspected spammer, by utilizing the stopforumspam API. Example implementation ## example usage. These items can be from database or from form input. The choice of implementation is all up to …

Member Avatar for LastMitch
5
237
Member Avatar for pucivogel

Is there anyway to view/download binary files from a folder in my server with Ajax? If not in ajax, in php? Can you show me any tutorial or page which shows this?

Member Avatar for AleMonteiro
0
225
Member Avatar for pucivogel

I get this error Notice: A non well formed numeric value encountered in C:\wamp\www\agenda\index2.php on line 178 on th following line : echo ' <b><a href="engine/changedate.php?date=' . date("Y-m-d", $dtime) . '">' . date("Y-m-d", $dtime) . '(' . $days . ')</a>:</b><span title="' . $recordSet->fields["description"] . '">' . $recordSet->fields["title"] . '</span>'; any …

Member Avatar for pucivogel
0
156
Member Avatar for sahil.bhatia.18

Hi experts, My website (PHP+mysql+javascript) khabarfast.com hacked 4 times from unknown hackers. Need suggestion for get rid of hacking.

Member Avatar for sahil.bhatia.18
0
236
Member Avatar for pucivogel

I have this code it uploads photos and deletes photos, but how can i make it to upload photos in a folder i want not in the same folder where the script is, i just can't see where can i implement the path. Here's the whole code: <?php /** * …

Member Avatar for Squidge
0
304
Member Avatar for pucivogel

i have downloaded this script , a photo gallery which creates albums, uploads photos, deletes them, i nedd to insert the path of the folder according to this instructions : $script_url=$_SERVER['PHP_SELF']; //Change this if you want to use this as an include file. $files_path="./album/"; // Where does the album start? …

Member Avatar for Squidge
0
255
Member Avatar for dxnitz

hi, I'm doing a web that can show html file code into textarea using php but my problem is when reading a html file that also contain textarea this is my html <html> <body> <textarea> Trying this !!!!!!!! </textarea> <br> <span>ASD</span> </body> </html> and this is my php code that …

Member Avatar for broj1
0
301
Member Avatar for sagisgirl

Hi all.. im now building a web-system using php..and i have 4 groups of users 1- G1 2- G2 3- G3 4- G4 in my db, those are in my table called "u_userGroup" and for my entity is "groupCode". so, these 4 groups have different privileges to each page.. G1 …

Member Avatar for sagisgirl
0
201
Member Avatar for ckjaseem

I have a button which uploads a background image to a folder and saves the file name to the database, but I cant figure how to re size the image before uploading it. Actually I am facing two problems. 1 - How to resize the image and upload it. 2 …

Member Avatar for LastMitch
0
300
Member Avatar for Wailintun

hi! everybody, I want to know dropdown and display. when I choose "red" in dropdown then refresh page and shown "red" beside dropdown. ** ONLY IN PHP** thanks for your time.

Member Avatar for LastMitch
0
83
Member Avatar for sophy27

So I have been able to post the comment in the page I am creating and that comment is also saved in the comment table in the database with the id of the picture but when i am in the first picture and I comment the comments are posted saved …

Member Avatar for LastMitch
0
264
Member Avatar for gogs85

I need php opet source code for e-commerce when client filled cart registered to the home address no pay pal and Visa.I found a lot of e-commerce CMS, but they are all for paypal or visa.I need php code to put in my site and orders sent to your home …

Member Avatar for Octet
-1
140
Member Avatar for luke.belleghem

I need a script that replaces "login" with "logout" when im logged in and vice versa. Anyone know of a god tutorial that teaches how to do this?

Member Avatar for Octet
0
466
Member Avatar for Vijaysurya

hai everybody, i need help in my container div indide all the div value is empty means container value is empty message show any body plz help me <div Id=" container1"> <div I'd=" friends-cta"> <php echo $viewee[' name'] ?> </div> <div I'd=" friends-ota> <php echo $viewee[' occupation'] ?> </div> <div …

Member Avatar for blocblue
0
166
Member Avatar for pucivogel

I am following this tutorial http://www.css-resources.com/code-for-php-photo-gallery.html to create php photo gallery but i get errors undefined index photos, categories and cy when i run this code, it gets the category names in a textarea and adds them in the db, in the output also says no database selected but i …

Member Avatar for michel.cote
1
307
Member Avatar for sophy27

Hi, everyone! I need some urgent help with displaying images in a web page from a database. I've created the table picture in phpmydamin and it has these columns: id_picture( wich is the primary key), name, description and the pic_url ( wich contains the url path of the image for …

Member Avatar for sophy27
0
1K

The End.