39,316 Topics

Member Avatar for
Member Avatar for rukshilag

[CODE]//only completed successfully if($cs =='yes') { $sql = "select * from past_participant where completion LIKE '%$cs%'"; $result = mysql_query($sql); $num_rows= mysql_num_rows($result); } else if($cs =='no') { $sql = "select * from course_participant FULL JOIN past_participant ON completion LIKE '%$cs%'"; $result = mysql_query($sql); //$num_rows= mysql_num_rows($result); }else if($cs =='current') { $sql = …

0
65
Member Avatar for kevinwcaulfield

I am new to PHP, and I have this website. I want to know if i can have a page that is password protected (i know how to do that part), where the user can edit a variable from a text area. Example: if i had a $news variable, and …

Member Avatar for diafol
0
98
Member Avatar for keithyg

[B]SHA1 my password fields all at once by running a query, I need to know how to write the query[/B] What I want to do is update all password fields in my database to be SHA1 Can anyone help me to run a query to update all fields as I …

Member Avatar for drjohn
0
2K
Member Avatar for Cap'nKirk

Hi all, I have a file download counter on my website, [URL="http://www.madtogger.co.uk/page/software"]here[/URL], that I am playing around with. The files are stored in a folder on my server and their filenames are used to populate a mysql database. What I would dearly like is for the filename without it's extension …

Member Avatar for Cap'nKirk
0
140
Member Avatar for moobaa

Hi dani-webbers... I am endevouring to build an application that drags in data from multiple sources, and compiles this into a single page in which users can then click through to the item on the desired site. Most of the sites I want to include provide an API, but one …

Member Avatar for diafol
0
105
Member Avatar for rukshilag

ok so i have to tables and i want to have a query that selects all from "table a" and "table be" where "a certain variable"="$x".. how do i select all from 2 tables at once?

Member Avatar for liamfriel
0
101
Member Avatar for ravi0703

Hi, I have query in image sending in mail. I am trying to send image to mail id and display that image in mail id. below code i tryed to wrote and it is not displaying that image. In LIVE only i have tryed to send that mail it is …

Member Avatar for Arsench
0
85
Member Avatar for mundee

New to the Java world. Can .jsp work on Windows based platform also, oppsoe to Linux? ~Mundee

Member Avatar for masijade
0
70
Member Avatar for azegurb

hi all i have news publishing script. every script has own id ([url]www.example.com/index.php?id=12[/url] (for ex) who can help me Make comments script i want that let it possible to add comments each news when whatever news selected let it comes with its comments Thanks for attention

Member Avatar for azegurb
0
94
Member Avatar for mangel.murti

hi all,,, i am storing word document in mysql db. i have to email those word document form mysql database how to do it?

0
61
Member Avatar for sallycheng

I cannot select a row to edit in the repearter. How can i update correctly to the database? Thank you [code] <?php do { ?> <tr> <td height="42" bgcolor="#FFFF99"><div align="center"><?php echo $row_Recordset1['student_e']; ?></div></td> <td bgcolor="#FFFF99"> <form id="form1" name="form1" method="POST" action="<?php echo $editFormAction; ?>"> &nbsp; Present <label> <input <?php if (!(strcmp($row_Recordset1['present_time'],"1"))) …

Member Avatar for sallycheng
0
97
Member Avatar for Arun.N

i try to make a crawler that crawls a web page & retrieves the stock information from google,but can't do it . so plz help me 2 make that type of crawler. urgent plz...

Member Avatar for moobaa
0
165
Member Avatar for prem2

Hi to all, Did any one know how to identify the uncompressed pdf and compressed pdf. Thank you, Prem

0
58
Member Avatar for s_kanika

I've a basic chat script. In that I displayed messages directly from Mysql. When I click on send button then form submits and I get my posted message on screen. But if anyone else post message then it won't displayed in my screen unless I resubmit the form. If I …

0
69
Member Avatar for ee96ddo

i have an account with godaddy and they tell me my absolute path is d:\hosting\username\ if i have a file on my computers c: drive how would i upload it to mydata directory on the server using php. straightforward uploading is ok because i just copy and paste into [url]ftp://mysite.co.uk[/url] …

Member Avatar for OS_dev
0
69
Member Avatar for san_cash

Hi!, I want a simple code for a login system in php where users should be able to login in between 9.00 Am & 5.00 PM. Otherwise it should not allow users to login. Can anyone please help thank you Santosh

Member Avatar for sureronald
0
87
Member Avatar for fatcat2010

hello expert: got 2 basic questions: 1.don't know how to review php.ini content to check if register_globals is set "on" or "off". i know php.ini is on the server end. how to pull i up? 2. i see a paragraph says..."assuming register_globals is turned off"for this reason, we assume that …

Member Avatar for fatcat2010
0
180
Member Avatar for niths

[CODE]<?php session_start(); $_SESSION["username"] = $username; $_SESSION["password"] = $password; session_unset(); session_destroy(); @header("location:login.php"); ?>[/CODE]

Member Avatar for cwarn23
0
66
Member Avatar for tmaniacco

This is my first website so please be kind. My form in my index.php has method="post" action="mailer.php" in my mailer.php I have the following code which I had hoped would take care of single and double quotes which may be entered into the message textarea $message = $_POST['message']; $message = …

Member Avatar for cwarn23
0
79
Member Avatar for dirtyhiphophead

Hello, I run a website and just today, it gave me an error: 403 forbidden error and i was told it was the permission of some of the directories at ftp. I used my filezilla to reset the permision to 755 for directories but still i'm getting the errors.Also, I …

Member Avatar for cwarn23
0
67
Member Avatar for niths

hi, i need to display the users under some admin. so i had written this code but it is not showing the required output. so can anyone... do we need to add any function in this to get the username because by that username only we can know that he …

Member Avatar for Phil++
0
77
Member Avatar for verbob

What I would like to do is search a MySQL table for anywhere from one to 12 seprate fields, depending on what is submitted from a search form(has 12 different things that a user can search -- its an "AND" search only) What I am unsure of is how to …

Member Avatar for verbob
0
129
Member Avatar for drewpark88

Thought this code would work, it is not sending me an email upon approval. What can the problem be, I tried making changes suggested but it did not work: [CODE] if($response->IsApproved()) { $to = 'donation@valleyanimal.org'; $subject = 'New Donation'; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; $headers = …

Member Avatar for drewpark88
0
90
Member Avatar for Tekkno

Hello All, I had not been able to reliably send emails with the PHP mail function. So I decided I would use the PEAR extension instead, but I am having the same issue. I am not connecting to an SMTP server. The issue appears to be that I cannot send …

Member Avatar for Tekkno
0
87
Member Avatar for whiteyoh

Hi All, Im busy integrating a custom payment system to my site. All of the charges work, including all callbacks. What i want to do is... 1. User clicks"submit" on the form 2. it sends its form action WITHOUT taking user to that page (becuase its 3rd party) 3. Their …

Member Avatar for chrishea
0
62
Member Avatar for drewpark88

Not sure what I am doing wrong. I have an HTML email I want to automatically be sent out on approval of a payment. It is not working so can someone please look over my code and if you have any input that would be great! Thank you! [CODE] if($response->IsApproved()) …

Member Avatar for drewpark88
0
171
Member Avatar for Morty222

When I insert a new event into the table, I serialize almost all the data except a few fields I needed to keep separate. Here is what my serialization looks like in the database: The field this data is stored in is called host_array: [CODE] a:16:{s:5:"sport";s:8:"football";s:14:"tournamentname";s:21:"Grid Iron Challenge 2";s:11:"sanctioning";s:7:"Testing";s:4:"age1";s:2:"15";s:4:"age2";s:2:"16";s:4:"cost";s:3:"450";s:5:"sdate";s:10:"2010-03-05";s:5:"edate";s:10:"2010-03-10";s:5:"tcity";s:5:"Wayne";s:6:"tstate";s:2:"MI";s:5:"games";s:1:"5";s:13:"teamsaccepted";s:2:"15";s:16:"pslteamsaccepted";s:1:"5";s:6:"hotels";s:6:"Hotels";s:7:"details";s:7:"Details";s:6:"button";s:8:"Continue";} [/CODE] …

Member Avatar for ShawnCplus
0
94
Member Avatar for scorpio222

I have developed a website, where i have 2 access levels, users and admin. on the server, i have admin folder with all admin stuff and user folder with all user stuff. based on the username,password combination from login page, i am redirecting the user to appropriate location. Everything is …

Member Avatar for scorpio222
0
67
Member Avatar for Stefano Mtangoo

What books or tutorial (online/downloadable) shall i learn to be able to make secure page? I need to know different technique and algorithms

Member Avatar for phyrtech
0
120
Member Avatar for riddleyw

I've been looking at incorporating a wysiwig editor in my PHP pages like tinyedit or iRite. Something very much like the box I'm entering this message in, it would have the ability to let the user add links, underlines, bold, etc into blog posts and comments. However, does this necessarily …

Member Avatar for diafol
0
76

The End.