39,402 Topics

Member Avatar for
Member Avatar for gpss

Hi! I need help... i want to make a button that when i click on it... it save's some attributes of my database (postgreSQL), and it save in .xls or .txt file... how can i make that? is it possible?? i can show my attributes on a table view on …

Member Avatar for chrishea
0
105
Member Avatar for whitestream6

This is my code which is intended to produce an URL like the following: [url]www.mysite.com/test.php?day=1[/url] [CODE] <? if (!$_GET['day']) { $day = date('N'); } elseif ($_GET['day']==1){ ?> <?php include("test1.php") ?> <? }else if($_GET['day']==2){ ?> <?php include("test2.php") ?> <? }else if($_GET['day']==3){ ?> <?php include("test3.php") ?> <? }else if($_GET['day']==4){ ?> <?php include("test4.php") …

Member Avatar for diafol
0
185
Member Avatar for Clawsy

I'm building a Content Management System on my own in PHP & MySql. I thought it's a good idea that all CMS files to be stored secure on the server "before" www folder so that it can't be accesed from the browser (all cms files in one folder). In www …

Member Avatar for Clawsy
0
293
Member Avatar for Maged Media

hello plz i need help with this urgently as it i supposed to be used tomorrow :S i get this error from the following script Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/aybasuco/public_html/MySQL-Formmaker/lib/db_index.inc.php on line 42 thanks in advance for your valiable time [CODE]<?php # …

Member Avatar for Maged Media
0
167
Member Avatar for vs224

Hi, I can create pdf using fdf and send email out with pdf attached using PHPMailer on press of button. Now i would like to know how can i open an email client with pdf created with fpdf attached to it, user can then manually send the email with send …

0
81
Member Avatar for garcon1986

Hello everyone, I have a problem when i use json and array. And i need your help. Here is my code: [CODE] while($row = mysql_fetch_assoc($result)){ echo json_encode($row); } [/CODE] The result is: [CODE]{"id":"1","title":"event1","start":"2009-11-10 14:18:15","end":"2009-11-03 14:38:22","allDay":"false","url":null}{"id":"2","title":"event2","start":"2009-11-09 15:41:20","end":"2009-11-10 16:41:25","allDay":"false","url":null}[/CODE] But i want the result is like this: [CODE] [{"id":"1","title":"event1","start":"2009-11-10 14:18:15","end":"2009-11-03 14:38:22","allDay":"false","url":null},{"id":"2","title":"event2","start":"2009-11-09 15:41:20","end":"2009-11-10 …

0
110
Member Avatar for SuntechWebsites

Heres the skinny: I have created a site with user login that directs the user to a page that only shows thier information pulled from the database. What I want to do now is create an admin side that allows the site owner to be able to use 1 login …

Member Avatar for foxwizzy
0
149
Member Avatar for Eman84

Hi I need to integrate paypal gateway on my website. We sell memberships. There is a trial period for using some features of the website. After that users must purchase their memberships - it can be a mounth or 6 mounths or a year. Now, I could dynamically generate the …

Member Avatar for liamfriel
0
210
Member Avatar for sarithak

Hi frnds... i m doing music portal. i need to upload Albums to FTP from admin side.Each Album having 5/6 audio files. Each song details should be saved in my DB also..plz give me some suggestions ...

Member Avatar for abhi_elementx
0
70
Member Avatar for bonzi200x

I'm getting the following error A PHP Error was encountered Severity: Notice Message: Trying to get property of non-object Is this an installation error?? I'm using php 5.2.11 on centos 5.4.

Member Avatar for cwarn23
0
110
Member Avatar for veledrom

Hi, I need an php soap example that should run on my local wampserver. Also, wsdl file should be in my www/mytest folder with server and client php files. Not outsourced. I tried a lot from web but they all outsource wsdl in their servers. Thanks in advance

Member Avatar for network18
0
108
Member Avatar for daneuchar

danni web has been a great help to me i want just one more help i am able to connect to MSSQL present in my localhost using wamp but i am unable to connect to my MSSQL running in a pc with ip 123.xxx.xxx.xxx can u guide me on how …

Member Avatar for daneuchar
0
161
Member Avatar for Bobic

I used sessions in these scripts: Login, Main pg containing the different links, and theLogout pg. What i wanted is to prevent a user from viewing, the info/transactions of a previous user who loggedout, by clicking the windows Back button. But when i login, click one of the links to …

Member Avatar for network18
-1
72
Member Avatar for lamjdx

Hi all, anyone have idea how to setup a barcode reader within virtuemart ?

Member Avatar for network18
-1
233
Member Avatar for shankmuchlove

Hello people, I had an idea of storing my website's feedback form data into an xml file rather than using a database table. It works faster using an xml file when retrieving data than using a database table. Please suggest me, what if I use xml files for storing complex …

Member Avatar for network18
0
61
Member Avatar for jyotidagia

hey all.. i was wondering if anyone culd help me wid this.. i've a html file with javascript and a php file.. i need to access the db result generated by the php file in my javascript..to dynamically load drop down menu in the html file.. was wondering if i …

Member Avatar for network18
0
161
Member Avatar for tsr.linkan
Member Avatar for gingank

Hi Guys, I'm new in PHP. I not familiar with it. Now i need to ask about the PHP Now i working we a program that have a login function and can allow admin to change or update the data. The users van view the info only without change it …

Member Avatar for network18
0
99
Member Avatar for magica

Hello, I keep getting a "Error Fetching http headers" when I make a soap call. It looks like something is interrupting my process exactly after 5 mins and forces this error. I have already set 'default_socket_timeout' in php.ini and restarted apache. Also I can't find any other reference in the …

Member Avatar for magica
0
840
Member Avatar for new_divine
Member Avatar for Mohammed S

Hi, i was searching for a correct url regex, but unsure how would i do it. I am not very expert in regex. So can't be sure that this will always work. I wanted to be able to match even inner urls, such as: [url]http://google.com[/url] [url]http://www.google.com[/url] [url]http://google.com/something?some=unsome&w=anything[/url] i only wanted …

Member Avatar for Mohammed S
0
81
Member Avatar for phouse512

Hello, I've been using a book to learn php, and when I try to make it work for my own use, there seems to be an error when I try to login. First it says that the log in is invalid, and it comes up with this warning message: [b]Warning: …

Member Avatar for phouse512
0
233
Member Avatar for dandixon

Right im very new to php and kinda learning as i go, here is my code. What it is, is when i search a part number it has to be matching the case e.g if i search a6725 it doesnt work but if i search A6725 its returns the result. …

Member Avatar for dandixon
0
87
Member Avatar for samarudge

Hi, On my websites, I encrypt passwords using a combination of hashing algorithm (Which I am obviously not going to post on a forum but its along the lines of [icode]md5(substr(whirlpool($Value), 0, 7));[/icode]) What is blowfish, how do I use it and how much more secure is it than a …

Member Avatar for digital-ether
0
175
Member Avatar for sam023

i m getting this bug.. and i still cant understand why this happening..?? here is my php code [code=php] $query1 = "call new_user('$cardDigits','$cardNo','$amount','$traiff','','','','','$creator',@_lastname,'$customer','$firstName','$email','0','0')"; $result1 = mysql_query($query1) or die('query_error'.''.mysql_error()); $lastname = mysql_fetch_row($result1); // Generate New User $query2 = "genrate_user('$lastname[0] ','$creator')"; echo $query2; $result2 = mysql_query($query2) or die('query_error1'.''.mysql_error()); [/code] Procedures are working …

Member Avatar for sam023
0
9K
Member Avatar for mr_scooby

hi guys, I would like to be able to take all the output of a order form and the database output of the selected items and return it to a xml document. I tried the file_get_contents and that just took the actual code from the php page. My website is …

Member Avatar for mr_scooby
0
85
Member Avatar for garcon1986

Hello everyone, Actually, i'm working on a binary tree for building a dynamic orgnizational chart. I have a concrete idea about that. First, Create a binary tree. Then, display it with GD library. But it's the first time, i'm trying to do it. And i hope for your advice and …

Member Avatar for garcon1986
0
113
Member Avatar for sarithak

hi frnds... i want the code for play audio files through my website..... alla audio files r placed in my server itself..how can i do this... which player is the best one. how can i add the code in my web page.plz send the script...

0
85
Member Avatar for coder4Ever

Hi my friends , I was working on a web page and want to send users comment to the website owner .I use wamp server .... Here is the php code <?php $to='compnay@yahoo.com'; $from=$_POST['txtEmail']; $title=$_POST['txtTitle']; $body=$_POST['txtMsg']; if($_POST['form1'].submit)// to check wheter the form has been sent or not //echo 'thank you' …

Member Avatar for Will Gresham
0
84
Member Avatar for Chad Gary

I have an HTML form with checkboxes. Based on the checkboxes that are selected I'm trying to contentate a query string so the select checkboxes are inserted in an IN clause in my SQL statement. I'm recieving an error that is telling me something is wrong with my sql statement. …

Member Avatar for diafol
0
107
Member Avatar for sameh7

hello every one! please :: i wanna to send link from my own server to another server as rapidshare ,, mediafire,, i have an uploader and want after upload image to my site send it to rapidshare and get it link.... thanks

Member Avatar for diafol
0
124
Member Avatar for hemgoyal_1990

Hi all, I Have a Problem in my Function. I am created a Recursion Function in PHP and also Created a Array. But I Have a Trouble That How to Store This Recursion Function Value in Array. Please Help Me I Want to Store Recursion Function Value in PHP and …

Member Avatar for Atli
0
176
Member Avatar for foxwizzy

hello all i am new to this forum and need some help whit php. I am trying to create a script that shows the number of users online. [CODE]<?php $host = "xx.xxx.xxx.xx"; $user = "xxxx"; $pass = "xxxx"; $db = "users" $conn = mysql_connect("$host", "$user", "$pass") or die ("Unable to …

Member Avatar for diafol
0
219
Member Avatar for syncy

I'm really having some difficult wrapping my head around regex and preg_replace. What I want to do is have a function that scans an entire page for any <a href> tags pointing to Youtube and then convert them into an embedded youtube video. Here's a code to show kinda of …

Member Avatar for syncy
0
428
Member Avatar for nccsbim071

I have a php website which i want to run in C# wpf webbrowser control. I have a validated a username and password for the site by connecting to it's database using .net. Now i want the functionality to take username and password and submit the post form to php …

Member Avatar for nccsbim071
0
657
Member Avatar for veledrom

Hi, X user uses his/her windows/Linux based software to publish content (job, item to sale or rent etc) in my PHP website. Something like posting data from a computer based software to website OR from a website to a website. I’ll start doing this based on you guys’ information. Thanks …

Member Avatar for Atli
0
126
Member Avatar for yonghan

Hi all,suppose i got two rows like this picture [url]http://i575.photobucket.com/albums/ss197/yonghan79/ask-1.jpg[/url] I'm trying to change the modified column value to current datetime without refreshing the page when i click the update button..The first row worked,the second doesn't work..Here is my codes views/order_home [code] <script type="text/javascript" src="<?php echo base_url(); ?>js/jquery.js"></script> <script type="text/javascript" …

Member Avatar for Airshow
0
856
Member Avatar for muralibobby2015

hello.... i want to do the validations in registration form. but my validation is when the user enters the value in textbox that value automatically cheks that value is already in database or not. for example..........username textbox is there..now i am entering value first three letter "kal" then comes beside …

Member Avatar for jomanlk
0
310
Member Avatar for dan1992

wats roang in here .. [LIST=1] [*]<?php [*]ini_set('display_errors', 1); [*]//connecting to database [*]$error = "nu am putut sa ma conectez :("; [*]mysql_connect('localhost','root','')or die ($error); [*]mysql_select_db('dan') or die ($error); [*]//max display pet page [*]$per_page = 2; [*]//get start variabel [*]$start = $_GET['start'] ; [*]//cont record [*]$record_count = mysql_num_rows( mysql_query("SELECT *FROM news")); …

Member Avatar for dan1992
0
186
Member Avatar for sartori

Not sure this is the best place to post this: I'm an experienced C++ oop developer wanting to develop my own semi-complex website ( e.g. with very nice GUI and graphics in general). I've used Qt for C++ GUIs I'm a newbie to web development, and after researching languages, it …

Member Avatar for network18
0
78
Member Avatar for vaultdweller123

ei could someone help me with my problem. I got error running my projects on localhost. I dont know what caused this, but this problem occured when i replace my wampserver2.0c to the latest version wampserver2.0i. before there is no error it works fine. but now when i logged in …

Member Avatar for vaultdweller123
0
88
Member Avatar for brianzet

Hello all. I've got this upload script, working just fine. [CODE] <?php error_reporting(0); $change=""; $abc=""; define ("MAX_SIZE","400"); function getExtension($str) { $i = strrpos($str,"."); if (!$i) { return ""; } $l = strlen($str) - $i; $ext = substr($str,$i+1,$l); return $ext; } $errors=0; if($_SERVER["REQUEST_METHOD"] == "POST") { $image =$_FILES["file"]["name"]; $uploadedfile = $_FILES['file']['tmp_name']; …

Member Avatar for Atli
0
179
Member Avatar for LindaLou

Hi, I am getting 3 warning messages below: Warning: mysql_free_result() expects parameter 1 to be resource, null given in J:\xampp\htdocs\propertypages\resultsForSale.php on line 660 Warning: mysql_free_result() expects parameter 1 to be resource, null given in J:\xampp\htdocs\propertypages\resultsForSale.php on line 662 Warning: mysql_free_result() expects parameter 1 to be resource, null given in J:\xampp\htdocs\propertypages\resultsForSale.php …

Member Avatar for network18
0
103
Member Avatar for nits4u

hey guys i m trying to retrieve data frm Db.. Its a very simple query what cant understand whats going wrong with the code. It shows "[I]Parse error: parse error in C:\wamp\www\php\table.php on line 35[/I]" here is the code: <?php // creating table include "var1.php"; mysql_select_db('wiley'); $qry="SELECT movie_name, movie_leadactor, movie_director …

Member Avatar for nits4u
0
151
Member Avatar for manoj2161
Member Avatar for Atli
0
93
Member Avatar for waveguy

Hi, I am new to this forum, actually this is my first post ever on any forum. I joined because I would like to send a post to a facebook account via php script. Has anyone done this?

Member Avatar for waveguy
1
108
Member Avatar for Jayakrishnan_gk

Hey i'm a newbie.... Just started using php.... Been a month now !!! I use notepad++, firebug and a wamp server for all my development work.... Can anyone suggest good tools that'll make my work easier... and also a good debugger .....

Member Avatar for Calver
0
81
Member Avatar for CFROG

Does anyone know of a php based forum that is easily customizable to work with an existing user base so that members don't have to register or sign in a second time when they access the forum? I heard that this is possible with phpbb3 but I haven't seen anything …

Member Avatar for CFROG
0
346
Member Avatar for potatosoftware

Hi there, I intend to create a dashboard on the web. You might already know about Google analytics : my application would resemble that. However that would not be easy unless I can find charting + grid controls. etc. Any suggestion ? I also wonder after discovering this application : …

Member Avatar for pritaeas
0
103
Member Avatar for Kadence

I'd like to turn PHP off within a folder, with the exception of certain files (e.g. disabling PHP for all files but test1.php and test2.php, or test*.php). I believe PHP can be turned off for a folder by placing "php_flag engine off" within that folder's .htaccess, but how can I …

Member Avatar for Kadence
0
113

The End.