39,320 Topics

Member Avatar for
Member Avatar for samerz816

Getting error: Parse error: syntax error, unexpected T_VARIABLE in /www/zymichost.com/m/u/s/musicalmadness/htdocs/guestbook.php on line 1 Here is my code: [code=php]<?php $guestbook = 'guestbook.dat'; $adminPassword = 'glitter'; error_reporting (E_ALL ^ (E_NOTICE | E_WARNING)); $admin = 0; ?> <?php $password = ""; if ($_POST['password'] == $adminPassword) { $admin = 1; $password = $adminPassword; } …

Member Avatar for phpuser
0
371
Member Avatar for phpuser

I made one php project in which we provide facility to create his/her own web site. Now I wants to add new feature giving different subdomains to the members' web pages. Because the number of members is about 120,000, manual configuring is not the solution. Let me give you an …

Member Avatar for phpuser
0
132
Member Avatar for phpuser

Hi All, My client want statistics report for page visits and he gave me google analytics reference for same. In which they gave facility to get report between two dates and report wil be day, week and month wise. I having with two dates but havent any idea how i …

Member Avatar for phpuser
0
132
Member Avatar for sallycheng

I cannot insert the student id to table. Would you mind give me some recommentation,please! [ICODE] <body> <form id="form1" name="form1" method="post" action=""> <?php /* This page receives and handles the data generated by "form.html". */ // $_POST["FirstName"] is an array!! $total = count($_POST["checkbox"]); // print "Number of FirstName(s) submitted: " …

Member Avatar for phpuser
0
134
Member Avatar for terrymold

Hi I'm writing a website which will eventually create a new NewsLetter every week, which is saved in a MySQL Table. The user wants to view previous newsletters with the aim of selecting one to send out again. As each record contains 83 fields, this would be so cumbersome as …

Member Avatar for teedoff
0
105
Member Avatar for Venom Rush

Hi all I have a forgotten password routine that returns "Email address invalid" if the email address entered is not in the database. This seems to be the general trend to notify someone that the email address doesn't exist. I'd just like to know if it's possible for a hacker …

0
63
Member Avatar for ivan3510

Hi! Sorry for my bad english! How to make simple chat with php and ajax without creating mysql database? Can you write code? Thanks everyone!

Member Avatar for ivan3510
0
126
Member Avatar for malashukla

i am new in php so may be my problem could be so easy for u but i m not solve. anyone out there please help me. actually i am creating checkboxes inside the while loop with different id. and a user can check more than one checkbox and when …

Member Avatar for pssubash
0
97
Member Avatar for ......?

Hello everyone! To get incoming message in fb-chat, browsers send request in certain interval (i think 55.31s). But if there is message it fetches message and terminates before starting new. Can anyone explain how it is done Regards

0
72
Member Avatar for dandixon

I have a db with all the staff details on. I have my webpage that displays all this data but i want to be able to have buttons like "all", "directors" etc that when clicked on will only show that dept Whats the best way to do this Regards Dan

Member Avatar for nonshatter
0
80
Member Avatar for silvertwister10

Hi Guys I need a script which will allow me to redirect the user to an external webpage - I have a t&c's page on the site so the user needs to 'accept' t&c's before they are redirected to the thirdparty website. I used javascript however it seems to not …

Member Avatar for silvertwister10
0
207
Member Avatar for buggyboy

Hello everyone, I'm new to PHP, i know the basic's of PHP. At least i think i do. I've read like 20 ebooks, read tutorials etc. And yet i still lack the knowledge of understand the basic concepts. (Putting it all together). Anyway, i randomly have questions about php and …

0
53
Member Avatar for U'rDady

I am using PHP+javaScript+Mysql+html My Question is How can I upload Excell file in Browser to show the user the file is uploaded. and then update that excell data from browser to Database Please Help. I would be great is i can have a sample code. Best Regards.

Member Avatar for AndreRet
0
31
Member Avatar for braveheart_sb

Hello, I really would like to know how to compare two different databases hosted on the same server, compare each tableA rows with the tableB rows and find out the match and non Match ones using a php Script. And display the match and non Match ones Thank you

Member Avatar for DanielTulp
0
3K
Member Avatar for nonshatter

Hi all, I have a fairly simple question on something I know little about... Is there a PHP equivalent to the Perl POD? We're basically switching over from Perl to PHP but we are struggling to find a PHP-ish way of documenting from within our code. If anyone knows anything …

0
60
Member Avatar for keval_hack

Hi, I am searching a online quiz cms or script which provide user login and admin area for managging quiz. thanks. -keval

0
54
Member Avatar for hmhb.in

i have the following xml file.how to display the first tag (tag by tag) then when next button are click the second tag is display <?xml version="1.0"?> <records> <reg > <name>hari</name> <age>22</age> <mark>67</mark> </reg> </records> <records> <reg > <name>hari</name> <age>20</age> <mark>78</mark> </reg> </reg> <reg> <book > <name>hari</name> <age>21</age> <mark>88</mark> </reg> …

Member Avatar for DanielTulp
0
96
Member Avatar for praveen_dusari

hi, iam developing a website where i need to prevent users from downloading my images. i tried using javascript by disabling rightclick but in mozilla there is a option to disable javascript. any help? please..........

Member Avatar for DanielTulp
0
814
Member Avatar for MoreBloodWine

My PHP knowledge is extremely limited so with someone saying read this wont help me much. Anyway... below should be everything one would need to assist me. Thx in advance ! [url]http://www.myu2sig.com/EoJCardLibrary.php[/url] If you check out the above link you will see some tables where I'm pulling and displaying DB …

Member Avatar for MoreBloodWine
0
121
Member Avatar for coolest_987

Can any one tell me how to upload video files in php ? Thanks in advance

0
83
Member Avatar for chunguy

Hi all, How can we gain control of printer using php? I mean gain control as in, choosing the right printer from our php page and send the document directly to printer. I want to bypass the print dialog box that will appear when we print from web browser. By …

Member Avatar for eagoweb
1
10K
Member Avatar for masocha

l want to add products to cart from the browse page. However when l add a product with attributes l get the following message [B]Info: To add this product into your cart you have to select a product variant on the details page.[/B] Can someone please tell me how l …

0
84
Member Avatar for Senvan

I am doing a project on php and sql and it involves posting of quetions by various persons and replying to those questions(which is a dicussion forum). Can i add text boxes for posting a question and displaying answers to those questions from a database. can u help me out …

Member Avatar for Lsmjudoka
0
61
Member Avatar for tristanhall

Hey guys! I am working on creating a website that offers resources and calculators for a lot of algebraic and geometric equations. One thing that I want it to do is factor polynomial equations. For example, x^2-x-2=f(x) would become f(x)=(x+1)(x-2). WolframAlpha.com does this for all polynomials so I know that …

Member Avatar for tristanhall
0
542
Member Avatar for Awah Mohamed

hey everyone i have sugested to create a new club in my school called programmers , so they told me that i have to bring a list of the club aims and they xheck if the aims are good or bad then they accept the club or no , so …

Member Avatar for budalverson
0
80
Member Avatar for itisnot_me

i dont know what is the issue and it is not giving me a error in the error_log. i have a variable that collects from the url to be put into the query were the DB field would go. i know that is is the part that is not working …

Member Avatar for itisnot_me
0
104
Member Avatar for lwaterfo

Hi all, Newbie question;.... I have a database and a table within called 'data'.. I also have a login script that allows users to access it. My question is..how do I make only the user's record viewable/accessible after login. Specifically, how do I access, the a specific record in the …

Member Avatar for lwaterfo
0
111
Member Avatar for cjay175

Hi all, I am having an issue with a php script that has worked fine in php 5.2.0 but with an upgrade to php 5.3 it is only prtly working. From what I understand ereg has been depreciated so I have tried many variations of trim() and preg_match() to remove …

0
49
Member Avatar for mulevad

I have an IIS7.5 server installed on my laptop. I'm learning C#, XML, XSLT, .NET, Visual Studio 2005, 2008, 2010 and Microsoft Expression Web. I am the webmaster on a simple PHP website that I inherited. I figure I ought to learn PHP, but figure I also need to install …

Member Avatar for mulevad
0
137
Member Avatar for qazplm114477

Is there a particular reason as to why some people use .inc and some just use plain .php for include files? Does actually do anything performance wise or does it just make it easier to distinguish between files?

Member Avatar for digital-ether
0
106

The End.