39,393 Topics

Member Avatar for
Member Avatar for abrocketman

I am writing this simple code. I used this class in PHP 10 minutes ago and now when I did it again it gives me this error. I cannot see the difference [CODE] <?php class user { public $Username; public $FullName; public $Password; public $LoggedIn; public $JoinDate; public function changePassword($newPass) …

Member Avatar for ShawnCplus
0
103
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
103
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
292
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
166
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
108
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
209
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
69
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
107
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
159
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
71
Member Avatar for lamjdx

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

Member Avatar for network18
-1
232
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
60
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
98
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
80
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
85
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
174
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
82
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
112
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
84
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
83

The End.