39,320 Topics

Member Avatar for
Member Avatar for sureronald

I am working on a web application and I would like to combine java script and php. I am using the window.confirm() function which gives a user an option to choose either yes or no. I am actually using this feature to end a users session so if user clicks …

Member Avatar for diafol
0
96
Member Avatar for naju

i got a problem wiht path for userfileupload for fckeditor in cakePHP i used in config.php of fckeditor as $Config['UserFilesPath'] = '/tours/app/webroot/files/images' ; for my localhost with xampp but it is not working for uploading the files with fckeditor it says '/tours/app/webroot/index.php/images' cannot be created. i think its a problem …

Member Avatar for diafol
0
107
Member Avatar for lldcrb328

Hello, can someone tell me how can I output all fields of a row in a mysql db using php? and then write.

Member Avatar for cwarn23
0
91
Member Avatar for jgna

Dear Forum, I've been doing php for sometime but just doing my first secure site. I am usign shared ssl from my webhost. I setup my pages and tested a paymennt system and the test is ok but now need to move the pages that contain personal info to the …

Member Avatar for cwarn23
0
64
Member Avatar for theimben

On my site lots of images are being used which are currently being stored on my server. But bandwidth is increacing quite alot and I want to store them on somewhere like Tinypic or Imageshack So my request is an image uploader to a free host using cURL. What I …

Member Avatar for theimben
0
73
Member Avatar for nawabsheriff

<?php $conn = new mysql('localhost', 'root', 'adm1ns'); $sq1 ="INSERT INTO data VALUES(?,?,?); $stmt = $conn->stmt_init(); $stmt->prepare($sql); $stmt->bind_param("sss",$instance,$instance,$instance); $stmt->execute(); $stmt->fetch(); ?> i use this code to store the data in mysql given by user... in sixth line i am getting a error "unexpected T_STRING" i cant cant this error pls help …

Member Avatar for nawabsheriff
0
229
Member Avatar for MSK 7

Hi to All, please suggest me easy codings for " Validation of form & Email field " any suggessions wiil be appreciated. Thanks & Regards

Member Avatar for nav33n
0
64
Member Avatar for k2k

i don't know why my php code within the <html> doesn't work at all. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="xsoldier2006" content="xsoldier2006, 2006, xsoldier, henry li, veteran 2006" /> <link rel="stylesheet" type="text/css" href="css/text.css"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Xsoldier_Home</title> </head> <body bgcolor="#333333"> <?php …

Member Avatar for katarey
0
143
Member Avatar for queenc
Member Avatar for mschroeder
0
81
Member Avatar for lldcrb328

Hi All.. I'm using the following script to give the option to either "SAVE" or "OPEN" a file, via headers() function. I'd like disable the "OPEN" option -- does anybody know if this is possible? So that the script only offers the option of saving the document... Thanks for all …

Member Avatar for almostbob
0
61
Member Avatar for dragon@dragon64

Hi All I am trying to create a page to delete records from a database, but i cannot seem to get the right code in hereunder please find my code [code=php]<?php require_once('Connections/conn.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() …

Member Avatar for dragon@dragon64
0
259
Member Avatar for amey72

Hi, I am trying to connect to a COM component using PHP, but keep on recieving an "Unexpected error has occured" message. The COM component code is [CODE=vb] Option Explicit Public Enum ApplicationErr Unexpected = Error.Unexpected End Enum Private Const m_csClassName As String = "XYZ.Application" Public Sub Initialize(ByVal udl As …

0
43
Member Avatar for glycerine

Firstly what a great forum and site alot of the threads on here have helped me over the past couple of months create and update alot of sites. So here is my problem, I have a importer which imports a feed (csv file) from a supplier (no problem importing it) …

Member Avatar for glycerine
0
115
Member Avatar for ditty

hello I want to read data from a pdf file. I used file_get_contents(); but i didnt get the result...please help me..... very urgent. Thank you Ditty K.M

Member Avatar for death_oclock
0
96
Member Avatar for MSK 7

Hi to all, please tell me any easy php code, To 'show' and 'hide' a new form file (may be called as "form1.php") on same current page by click on radio buttons ? Any suggession will be appreciated, Thanks and Regards.

Member Avatar for death_oclock
0
122
Member Avatar for jyotiu

Hi All, First of all i'll tell you what i m doing .... I ve a blog at [url]http://myblog.blogspot.com/[/url] ... now ... i am going to make simple website for myself and i want my blog to open inside my website .... i tried using [code=php] <?php $remote = fopen("http://myblog.blogspot.com/", …

Member Avatar for theimben
0
98
Member Avatar for 2bu

I am running WAMP and have pulled one of my sites down from the server that I need to work on locally. Can someone give me some pointers on how to get it running? I have done this with a Drupal site in the past and it runs like a …

Member Avatar for theimben
0
78
Member Avatar for theimben

I need to use ajax to make this whole process smoother. Here is a demo: http://www.theflickzone.com/dev/ If anyone can do this for me I will pay a few $ via paypal to say thanks :) Contents of index.html <form action="return.php" method="POST"> <p>IMDB URL: <input type="text" name="imdb" autocomplete="off"></p> <p>Links(line by line): …

Member Avatar for theimben
0
120
Member Avatar for Naveed_Cn

Hi Everybody, i am looking for ebooks on php 5. please help me and give me some nice links.

Member Avatar for peter_budo
0
136
Member Avatar for mr.khurrams

i need a image re size code that takes a image and display the according to desired pixels. i have following code but its not working. it just shows the original image. [code=php]function imageResize($width, $height, $target) { //takes the larger size of the width and height and applies the //formula …

Member Avatar for ShawnCplus
0
74
Member Avatar for marcmm

I wand to give the user the ability to upload as many pictures as he wants to. at present I hava a fexed amount of browse fields wich the user can use to select pictures... the code looks something like this : [code] <?PHP $max_file_size = 3000000; ECHO "<FORM NAME=name …

Member Avatar for marcmm
0
206
Member Avatar for mlempaa

hi there , this is my code [code]ob_start(); <?php require_once('Connections/connectdb.php'); ?> <?php include('Connections/connectdb.php'); ?> <?php //initialize the session if (!isset($_SESSION)) { session_name(Username); } // ** Logout the current user. ** $logoutAction = $_SERVER['PHP_SELF']."?doLogout=true"; if ((isset($_SERVER['QUERY_STRING'])) && ($_SERVER['QUERY_STRING'] != "")){ $logoutAction .="&". htmlentities($_SERVER['QUERY_STRING']); } if ((isset($_GET['doLogout'])) &&($_GET['doLogout']=="true")){ //to fully log out …

Member Avatar for sarithak
0
153
Member Avatar for emhmk1

Hi Guys, Ok here is the deal, i'm looking for a script that will allow a site admin to upload an image then add a description to it then click on save / upload/ send.... (whatever) Then the image and text is displayed on the webpage. I'm thinking of including …

Member Avatar for emhmk1
0
113
Member Avatar for shasha821110

Hi, all. i installed the XAMPP and run the [url]http://localhost[/url]. It seems fine for me and it show some welcome and "it works" information. But when i click SQL Admin, it couldn't run correctly. It always have some error information show up. the problem is like the attachment show up. …

Member Avatar for shasha821110
0
65
Member Avatar for jencinas69

Hello I need to do a php survey, I have php questionare but it does not support images. What I need to do is have users upload car pictures and then people to be able to vote on the cars to determine a winner. any advice from someone???? Than kyou

Member Avatar for almostbob
0
102
Member Avatar for MrMellow

Hi im new to the site and my question is why wont my php files display in my browser? I have 10 years exp with html but i turned my site over to a developer he put in php. Now when i go to upload my site to a different …

Member Avatar for almostbob
0
237
Member Avatar for Scottmandoo

in the following piece of code the else part of my if/else statements doent seem to work it just adds nothing, thanks. btw genre is a dropbox (and yes i have added the values) and genre2 is a text box, same with the filehost and filehost2. [CODE=php]$name = $_POST['song']; $artist …

Member Avatar for Scottmandoo
0
104
Member Avatar for chadlong41

Is there object persistence in PHP 5? I ask because it seems that with all the associated memory overhead with OOP, I am wondering if there is another reason for PHP to go OOP besides maintainability.

Member Avatar for death_oclock
0
110
Member Avatar for chadlong41

I have got my database driven web site I m using Code : [code=php]$query = "SELECT * FROM $sTableName WHERE ID=$inPageID LIMIT 1"; $_CONTENT = mysql_fetch_array(mysql_query($query)); <?= $_CONTENT['PAGE_CONTENT'] ?>[/code] to insert the content, into the page. Now if I wanted to add a php command into the page (the part …

Member Avatar for death_oclock
0
79
Member Avatar for chadlong41

Hi I have a simple Table (Table1) with 3 fields (ID, Date, Value). So if I query the DB for a certain date it lists the ID and value of all rows with that date. What I need to do is have a checkbox next to each table row and …

Member Avatar for diafol
0
62

The End.