39,323 Topics

Member Avatar for
Member Avatar for tulipputih

Hello, How can we save a page to another drives/devices I did use a form in my page- result.php- In result.php I put one button for save As. all of the elements are disabled in this page. and I hope that the details of that page will be copied to …

Member Avatar for diafol
0
152
Member Avatar for cane23

if its not to much i just trouble can anyone offer any ideas as to how to investigate a string. i have 2 numbers first number=806000842 second number=05234578 as u can see the two numbers are of different length with the first being 9 characters and the second being 8 …

Member Avatar for OS_dev
0
85
Member Avatar for solarb

hi all! i'm new with php and i have problem. I have a submit form in which every user places code.when they submit it in database its displayed normally there, but when i try to view the data in php there are missing elements , as b<<c or <iostream> etc. …

Member Avatar for solarb
0
151
Member Avatar for tlctara

I use a php file in order to collect data from an interactive form on a website. The php code sends the submitted file to a folder on the server, and displays a "Thank you for your submission" message. I would like to add a hyperlink to a payment page, …

Member Avatar for put3
0
534
Member Avatar for damnpoet

Hi i'm trying to export a journal article with fpdf everything work's fine. But i can't seem to find a solution on how to align the article's two columns at the last page of the exported PDF. Any ideas?

Member Avatar for damnpoet
0
166
Member Avatar for nelliott10

I am trying to export sql data into a pdf file, can this be done? Hope someone can help, cheers

Member Avatar for damnpoet
0
86
Member Avatar for kalyan469

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''1,1,'','',1,1,'',1,1,1,1,1,'',1,1,1,1,'','','','','','','','','','','','','',''' at line 1 <?php include '../_includes/connection.php'; $foodtype=$_REQUEST['foodtype']; $ffoodtype=$_REQUEST['ffoodtype']; $water=$_REQUEST['water']; $tea=$_REQUEST['tea']; $ftea=$_REQUEST['ftea']; $binge=$_REQUEST['binge']; $junk=$_REQUEST['junk']; $fruits=$_REQUEST['fruits']; $ffruits=$_REQUEST['ffruits']; $oil1=$_REQUEST['oil1']; $oil2=$_REQUEST['oil2']; $smoke=$_REQUEST['smoke']; $fsmoke=$_REQUEST['fsmoke']; $alcohol=$_REQUEST['alcohol']; $falcohol=$_REQUEST['falcohol']; $tobacco=$_REQUEST['tobacco']; …

Member Avatar for FlashCreations
0
200
Member Avatar for itisnot_me

ok so i was starting to make a query and thought that there could be a better way of making it. what i am trying to do it only print entries that does not have there value as null. ex: phone IS NOT NULL and street IS NOT NULL i …

Member Avatar for FlashCreations
0
99
Member Avatar for azegurb

hi all i need to learn what does this mean (this style of writing) may be is there another variant to write the code [CODE]<? exit;} if($_GET['step'] == "2"){ $name_db=$_POST['name_db']; $host_db=$_POST['host_db']; $user_db=$_POST['user_db']; $password_db=$_POST['password_db']; $connect=mysql_connect($host_db,$user_db,$password_db); mysql_query("create database $name_db"); $connect=mysql_pconnect($host_db,$user_db,$password_db); mysql_select_db($name_db,$connect); $sql1 = "create table `config` ( `id` int(1) NOT NULL default …

Member Avatar for azegurb
0
88
Member Avatar for tustind

I have a table in which each entry has a view counter. I would like to create a list that displays only entries that are within 100 views of a 1,000 view threshold. But, I want to also show each entry at any interval of 1,000 views. I.E., I would …

Member Avatar for edwinhermann
0
89
Member Avatar for turbodave

I have searched, promise! great site btw. I work for a small video production company and we often post work in progress to our website for clients to check out and comment on. I do this by encoding a video, uploading to our server and creating a static page, embedding …

Member Avatar for OS_dev
0
168
Member Avatar for vishalonne

I have a simple question I am developing 1 simple Job Site. 1. Where Job seekers will upload their Resume (in format of .txt or .doc or .docx file). 2. After tat if they want they can preview their uploaded resume in HTML format in different window. I just want …

Member Avatar for OS_dev
0
77
Member Avatar for WargRider

Hello everyone, I have an issue, I am making a website at the moment using multiple divs as usual, but there is a probably with two of my divs. Events and News, event is supposed on the left side of the container on EVERY page of the website, which I …

Member Avatar for WargRider
0
139
Member Avatar for azegurb

hi al PHP masters does anyone can show bugs in PHP code and explanation please it news publishing script index.php [CODE]<?php require_once("config.php"); require_once("include.php"); require_once("template_index.php"); header("Content-Type: text/html; charset=utf-8"); $dir = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; if (!strpos($dir,"?") === false) $dir = substr($dir,0,strpos($dir,"?")); $dir = substr($dir,0,strrpos($dir,"/"))."/"; if ($c){ $c = substr($_SERVER['REQUEST_URI'],strpos($_SERVER['REQUEST_URI'],"index.php?c=")+12); $c2 = $c; $c2 = …

Member Avatar for azegurb
0
227
Member Avatar for andydeans

hi, i have designed my clients site, and currently you can login and add a client, i then have a few tables which are policies that are sold to the client. i have created a foreign key between the policy table and the clients table. what i want to do …

Member Avatar for diafol
1
282
Member Avatar for cwarn23

Yes it's about loops. I have the below script and the first loop there is no problem as it mixes the variables but on the second loop I can't seem to figure out how to find the value of $c. Does anybody know because this is an annoying puzzle I …

Member Avatar for cwarn23
0
113
Member Avatar for SuntechWebsites

I am looking for a way to not only upload a file, but replace it if it has the same name. Can this be done?

Member Avatar for Wraithmanilian
0
56
Member Avatar for HB25

Hi I have two tables called client and booking, the primary key in client table is clientID which is autoincress number and it’s a primary key, in the second table (booking) the primary key is bookingID and its autoincress number and the clientID is foren key. I have a questions: …

Member Avatar for Babaty
0
6K
Member Avatar for brixton

Hi! I've managed to put together a header in my mails that escapes both Gmail and Hotmail's mail filters, so I guess it's not all that bad. However, for my work mail, which has a very nasty filter, it gets stuck in quarantine. So I figured I should ask for …

Member Avatar for almostbob
0
898
Member Avatar for ytregnn

I have a problem with a script that I bought. I'm trying to put the files in a different directory (different from the original) and for some reason I receive an error message saying; ” File(../../poll/Poll.php) is not within the allowed path(s)”. I've received this answer from the programmer of …

Member Avatar for pbcomput
0
108
Member Avatar for cane23

i am having some problems posting some values into a form when i click edit. i have checked to make sure that the variables contain the values that i want however they are not posting back to the form. here is my code below. [CODE]if ($_GET['mode'] == 'edit') { $c=$_GET['id']; …

Member Avatar for pbcomput
0
125
Member Avatar for venus_me11

i dont have any idea how to send through email i have a sample ticket. i dont know if i'm going to convert the php file into pdf.. i have no idea exactly.. if ever its hard, how can i send the sample ticket through inputted email of a customer...

Member Avatar for venus_me11
0
89
Member Avatar for whiteyoh

Hi All, In my php script i need to concatenate 4 tables from a foreign key of dev_id. It will be a select *. I know, for example that 4 tables have a value of dev_id=115, but when i run the script it gets no results. here is my attempt …

Member Avatar for saiprem
0
57
Member Avatar for lisles

hey,i have a login form wherein the take the username and password from the user and submit the form.im using burpsuite t check 4 threats.when i click on the submit button the password is visible.is it possible to encrypt the password as soon as enter it instead of passing it …

Member Avatar for cwarn23
0
109
Member Avatar for manolisvl46

is there a possibility to retrieve a search from an ldap search (for my case) which is in done php <?......?> outside of it to the body of my page? to have a general idea i try to create a table that will be completed dynamically from the search being …

Member Avatar for manolisvl46
0
158
Member Avatar for okonjiaustin

I am building a website that uses php5 and mysql database. I want to upload images alongside other information. To get other information into the table of the database, this I can do very well, but to upload and display the images alongside other information(which may be done online by …

Member Avatar for janani26
0
183
Member Avatar for mcastu

hi guys m new to this forum .......... i have emp_company table having field ecode, ecardno etc and another table is at0310 the fields of this table are ecardno, date , time, IO, serialno , cardrd and ecode the data inserted into at0310 table from text file except ecode......... i …

Member Avatar for mcastu
0
102
Member Avatar for nychick

I got everything going regarding PHP widgets and successfully fetched my DB. [CODE]<?php $con = mysql_connect("mywebsite.com","DB","password"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("pages", $con); $result = mysql_query("SELECT ebayid, reason, DATE_FORMAT(date, '%M %d, %Y') FROM `blacklist` ORDER BY `ebayid` ASC"); echo "<table border='0'> <tr> <th>EBay ID</th> <th>Reason</th> …

Member Avatar for OS_dev
0
113
Member Avatar for srya

hi friends, This is my code but it not working properly.pls tell the solution [code] <?php mysql_connect("localhost","root",""); mysql_select_db("samples"); ?> <!doctype html public "-//w3c//dtd html 3.2//en"> <html> <head> <title></title> <SCRIPT language=JavaScript> function reload(form) { var val=form.cat.options[form.cat.options.selectedIndex].value; self.location='drop3.php?cat=' + val ; } function reload3(form) { var val=form.cat.options[form.cat.options.selectedIndex].value; var val2=form.subcat.options[form.subcat.options.selectedIndex].value; self.location='drop3.php?cat1=' + val …

Member Avatar for manishjha
0
140
Member Avatar for darrylpatterson

The End.