- Original Message -
From: yousuf hussain
Dear members:
I came across a problem that while searching a record
from a database it
only returns one field record. i want to search it with different option.
Code is given below
Only Unit record is returned
snip
- Original Message -
From: Mohammad Ashrafuddin Fredousi
hi,
anyone have the joomla 1.5 manual(developer's technical manual)? if so, please
send it to me at
[EMAIL PROTECTED] if not, then what process you suggested to learn joomla 1.5
in a easy way?
thanx
- Original Message -
From: [EMAIL PROTECTED]
To: php-list@yahoogroups.com
Sent: Saturday, November 22, 2008 7:19 AM
Subject: Re: [php-list] Searching record problem
- Original Message -
From: Mohammad Ashrafuddin Fredousi
hi,
anyone have the joomla 1.5 manual(developer's
Hello all,
I want to know how to get information about field types. I am
using MyISAM.
I can see some MySQL instructions that can do this for one field at a time but
I want to get the
stats for a whole table at once.
For example -
How do I get information on each field of a
- Original Message -
From: HELLBOY
Hello all,
I want to know how to get information about field types. I am using MyISAM.
I can see some MySQL instructions that can do this for one field at a time
but I want to get the
stats for a whole table at once.
For example -
How do I
- Original Message -
From: HELLBOY
Hi All,
Here is the reason why i ak asking for ur help.
I have a edit form in which the values already stored in DB are populated.
User can edit some or all the values in the form.
then he submit the form.
NOW I WANT SOME JAVASCRIPT / PHP
- Original Message -
From: HELLBOY
Hi All,
Here is the reason why i ak asking for ur help.
I have a edit form in which the values already stored in DB are populated.
User can edit some or all the values in the form.
then he submit the form.
NOW I WANT SOME JAVASCRIPT / PHP
- Original Message -
From: Wade Smart
[EMAIL PROTECTED] wrote:
The new question!
I am running WAMP 2.0 (the latest version) as a development environment on
windows XP and I am
very
happy with it but now there is one problem.
How do I get Basic Auth to work on WAMP just the
Hello all,
I am creating a web based interface to a large database that includes personal
information.
In the past I have used php session control to authenticate members but now due
to the personal
information, I am wondering if I should make things more secure.
Members will come and go and
- Original Message -
From: listgroups08
Hello all,
I am creating a web based interface to a large database that includes personal
information.
In the past I have used php session control to authenticate members but now due
to the personal
information, I am wondering if I should make
Hello all,
I have a simple question about what may happen when a web page that
is accessing MySQL
is closed by the browser.
I have to script a database in simple MySQL and I need to be able to detect
when a roll back
condition may exist.
If a web page has a MySQL transaction such
- Original Message -
From: zari lahr
Dear sir..
this is what i am working out
==
snip
td width=41%img src=images/? echo $r[image_path]? //td
snip
one thing
- Original Message -
From: listgroups08
- Original Message -
From: zari lahr
Dear sir..
this is what i am working out
==
snip
td width=41%img src=images/? echo $r[image_path]? //td
snip
- Original Message -
From: Purwo Hadi
Hi,Guys do anyone know how to enhance fusebox performance. More bigger the
circuit become more
slower. Is there any way to increase loading speed. Thanks before
Hi Purwo,
I doesn't seem that
- Original Message -
From: bryan_is_south
And it gives me three error messages:
2 like this: Warning: open(/tmp\sess_..., O_RDWR) failed: No such
file or directory (2) in ...
And another that says Failed to write session data (files). Please
verify that the current setting of
- Original Message -
From: fw7oaks
The point about Windows or Linux is that they expect different 'backslashes'
that is / or \ in fact Linux is clever
and can cope with both while Windows can't.
So what's causing the problem is this /tmp\ses...
If you changed it to \tmp\ses
- Original Message -
From: bryan_is_south
Hello Bryan,
Your session save path is wrong.
It is pointing to c:/tmp\ which does not exist.
Open your php.ini file in a text editor.
It should be in c:\phpdev5\bin\php\ or c:\phpdev5\bin\php\phpx.x.x\
Make sure of the path to
- Original Message -
From: Diane
Hi,
What specific code would I have to add to make my contact form only
accept an E-Mail Address where it is asked for? Right now it will
accept anything:
http://dkjwebs.com/contact.php
--
Best regards,
Diane Jensen
http://dkjwebs.com/
- Original Message -
From: cosminx2003
--- In php-list@yahoogroups.com, [EMAIL PROTECTED] wrote:
- Original Message -
From: cosminx2003
Hi, i want to login on yahoo with php cURL, i made a script but i
can't make it work fine (it gives me blank page).
Please tell me how
- Original Message -
From: cosminx2003
--- In php-list@yahoogroups.com, [EMAIL PROTECTED] wrote:
- Original Message -
From: cosminx2003
Hi, i want to login on yahoo with php cURL, i made a script but i
can't make it work fine (it gives me blank page).
Please tell me how
--- In php-list@yahoogroups.com, Phill Sparks [EMAIL PROTECTED] wrote:
On Thu, Oct 16, 2008 at 4:57 PM, cosminx2003 [EMAIL PROTECTED] wrote:
I want to build a file creator.
Look how it will work : it will create a file file.txt, will rename it
in .zip|.rar|.iso|etc and then will put a
- Original Message -
From: cosminx2003
Hi, i want to login on yahoo with php cURL, i made a script but i
can't make it work fine (it gives me blank page).
Please tell me how can i fix it.
Thanks
?php
$username = user;
$password = pass;
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL,
- Original Message -
From: Daniel Israel
On Oct 12, 2008, at 6:31 PM, listgroups08 wrote:
snip
Try:
SELECT COUNT(*) FROM Assignments, Classes, Instructors, Departments
WHERE Assignments.ClassID = Classes.ClassID
- Original Message -
From: Gordon Stewart
is there a good utility / programme to use - That will automatically
indent PHP scripts (make them easier to read)
-
As an afterthought -
I use Crimson Editor for php.
I use MetaPad for text as it has excelent
- Original Message -
From: Gordon Stewart
is there a good utility / programme to use - That will automatically
indent PHP scripts (make them easier to read)
-
Hi Gordon,
I use Crimson Editor as it has excellent syntax highlighting.
It also
Hi,
I am using the following query to get results from a mysql database.
$query = 'SELECT * FROM Assignments, Classes, Instructors, Departments';
$query .= ' WHERE Assignments.ClassID = Classes.ClassID';
$query .= ' AND Classes.DepartmentID = Departments.DepartmentID';
$query .= ' AND
Hi all,
I have a quick question.
If I am getting a small range of results using the mysql LIMIT function then
how can I tell how many results there would have been
if I didn't use LIMIT with the same query?
Thanks.
- Original Message -
From: listgroups08
- Original Message -
From: Tedit kap
hello, what i am trying to do is, after hitting the submit button in a form,
the questions and the submit button should disappear
and at the same place the results should show up. right now the form
- Original Message -
From: Tedit kap
hello, what i am trying to do is, after hitting the submit button in a form,
the questions and the submit button should disappear
and at the same place the results should show up. right now the form is posting
to another page, which i dont know how
- Original Message -
From: Tedit kap
hello, what i am trying to do is, after hitting the submit button in a form,
the questions and the submit button should disappear
and at the same place the results should show up. right now the form is posting
to another page, which i dont know how
Hi all,
I am playing with classes for the first time and I am at a bit of a
loss in php.
How do I access the properties/functions of the parent class from sub
function?
And how do I register resources into the scope of the parent class?
For example if I have -
class Data_Base
{
- Original Message -
From: Wade Smart
listgroups08 wrote:
Hi all,
I am playing with classes for the first time and I am at a bit of a
loss in php.
How do I access the properties/functions of the parent class from sub
function?
And how do I register resources
- Original Message -
From: listgroups08
Hi all,
I am playing with classes for the first time and I am at a bit of a
loss in php.
How do I access the properties/functions of the parent class from sub function?
And how do I register resources into the scope of the parent class
- Original Message -
From: teditkap
--- In php-list@yahoogroups.com, [EMAIL PROTECTED] wrote:
- Original Message -
From: Tedit kap
Hi all,
Can someone refer me to good links or code, for creating a php bar
chart
please?
Thanks.
Hi
- Original Message -
From: zarilahr
Dear Sirs
i put up a image in database and i want when a user click on
download link the particular image start to download. I have stored
100 images in mysql and below is the sample mysql query i write and
its work fine .
INSERT INTO
- Original Message -
From: Tedit kap
Hi all,
Can someone refer me to good links or code, for creating a php bar chart
please?
Thanks.
Hi Tedit,
What sort of output do you want? CSS? HTML? Flash? GD images?
CSS/HTML/FLASH/GD
- Original Message -
From: Gautam Das
hi there, I have to do a task in which,i need to record any voice message
and then send it to another user...like we receive text messages from
another members in community based site...so i need to send voice or audio
message after recording. i
- Original Message -
From: Bob
snip
Hi Rob,
Wow, I wasn't expecting you to go to so much trouble, and it's much
appreciated. There's certainly a lot for me to learn from this, from file
handling to the way you've organised it. I'm still looking at it in
amazement!
It works a treat
- Original Message -
From: Rob
snip
Reading the script again I cab see two possible issues that you may want to
check -
1)
function file_lock($lock_filename)
{
if(!($handle = file_open($lock_filename, 'w')))
{
return FALSE;
}
Will opening an existing file in write mode
- Original Message -
From: Pete
I am having problems writing a file (in fact, it's a Google sitemap) to
a site.
I know that it has something to do with permissions and owners. But how
can I see what the settings are for this file? And what owner will
PHP be known as?
--
Pete Clark
- Original Message -
From: listgroups08
- Original Message -
From: Pete
I am having problems writing a file (in fact, it's a Google sitemap) to
a site.
I know that it has something to do with permissions and owners. But how
can I see what the settings are for this file
- Original Message -
From: Bob
snip
$logdata = file_get_contents($logfile);
$nline = strpos($logdata, \n, 500);
$newdata = substr($logdata, $nline);
snip
Hi Bob,
You are still reading the whole file into memory.
Can you tell me again
- Original Message -
From: Bob
Hi Rob,
Yes, linux and php 4.4 but please don't install another version of php just
for me, but thanks anyway.
My site is a hobby site, but it seems to attract so much abuse.
I've had quite a few DOS attacks, but the shared server is DOS protected
- Original Message -
From: Wade Smart
Brian Cummiskey wrote:
you mean, $_SERVER ?
Wade Smart wrote:
20080928 1905 GMT-6
Im looking in the php manual for the values to $_SITE but I cant freakin
find anything on it. Anyone have a link?
Ah, no. Im working on someone elses code and
- Original Message -
From: Bob
Hi Rob,
Thanks very much for your help.
I'm going to have to work though it at a later date.
I'm just managing to check my email daily, and that's it at the moment.
I transfer replies to my colour coded editor, then print them out for
reference.
I have
- Original Message -
From: Bob
Hi Rob,
I'm using PHP 4.4.4 (shared server so no choice, other than moving) so can't
use file_put_contents().
You don't need to write me a complete program, just the concept and main
points.
I've got to do some of the work myself grin.
I've never
- Original Message -
From: Gordon Stewart
Hi,
i know this is possible ( want to do it...) - But i'm wondering if
anyone has already done this has a working script ?
:- Basically, I want to create a Google doc (thats easy) - Make it
published - so no login required (thats easy)...
- Original Message -
From: bryan_is_south
Hi all,
This is probably a noob question:
I am creating a site on my local computer only...not on a server, and
I have an upload file part (input type='file'), but I want to know
if it is possible to still have the files go to a certain
- Original Message -
From: bryan_is_south
snip
Okay, so I have to move the uploaded file from the temp folder to a
different folder then using PHP, right?
I tried copying a function from my book, but another problem arose:
there is supposed to be an automatic $_FILES superglobal, but
- Original Message -
From: Wade Smart
20080821 1902 GMT-6
Discovered today that a script that the school THOUGHT had been working
for
the past two years - inst!
Their upload script uploads the picture into the images/ dir and then
creates a
thumnail of it and puts it in the thumb/
Hello Riya Britney,
I was just typing a warning message to you when
you sent the link spam to the group.
I have been suspicious of you from day one due to you e-mail address
[EMAIL PROTECTED] as I know this e-mail address format is used by
blogger.
We have had many
- Original Message -
From: LuCiaNo - CeTre
I'm remaking a system and now i'm making the login part.
The existent login was made with COOKIES but now i was thinking in to
do with SESSION.
What is better for this ?
This is a internal system with some modules that i'm renewing.
Best
Wade,
Thanks for the prompt response. This is the php script that I am
using:
?php
$sendTo = [EMAIL PROTECTED];
$subject = Info from Game Website.;
$ip = $_SERVER['REMOTE_ADDR'];
$name = $_GET['Name'];
$email = $_GET['Email'];
$comments = $_GET['Comments'];
$from = Reply-To: . $name . . $email
- Original Message -
From: a_wil72
Wade,
Thanks for the prompt response. This is the php script that I am
using:
?php
$sendTo = [EMAIL PROTECTED];
$subject = Info from Game Website.;
$ip = $_SERVER['REMOTE_ADDR'];
$name = $_GET['Name'];
$email = $_GET['Email'];
$comments =
- Original Message -
From: Wade Smart
Wade Smart wrote:
William Piper wrote:
what does print_r($_SESSION); show?
20080724 1508 GMT-6
Nothing. Its shows nothing.
session_start() is the first line and Im not doing anything I haven't done
before. I'm clearing my cache (which
- Original Message -
From: Phill Sparks
On Sun, Jul 13, 2008 at 2:56 AM, [EMAIL PROTECTED] wrote:
Code removed
You might consider using a service like http://pastebin.com/ to share
code with the list since formatting is removed it makes it very hard
to follow large chunks of code.
- Original Message -
From: bryan_is_south
Hello,
I have a multidimensional array, and would like to sort it by the
value of the last array.
Here's the idea of what I've got:
$Scores[$artist][$album]=$avg;
So the $Scores array contains an array for each artist, and each
$artist array
- Original Message -
From: bryan_is_south
Hello,
I have a multidimensional array, and would like to sort it by the
value of the last array.
Here's the idea of what I've got:
$Scores[$artist][$album]=$avg;
So the $Scores array contains an array for each artist, and each
$artist array
- Original Message -
From: Tedit kap
Hi,
I would like to create a simple poll which would list several or more items
with radio buttons near them, and the users should click and submit to
select their favorite product. So this should be saved in database. The user
should also be able
- Original Message -
From: Greg
I have developed a Content Management Systems in PHP/MySQL which works
well on Linux/Apache platforms.
I have a client with a Windows/IIS server, who wants to use my CMS.
He knows he will have to install PHP and MySQL to use my software,
BUT, am I going
- Original Message -
From: Jennifer Gardner
Hello,
I am looking for a good tutorial for having the date submitted when a form
is submitted and then being able to display the date in a results
table/page. Basically, when the form is submitted I want the date submitted
into the mysql
- Original Message -
From: Hayden's Harness Attachment
Why do I get the following error:
Parse error: syntax error, unexpected T_CASE in
/usr/home/choroid/public_html/new/crf_header.php on line 29
Line 29 is:
case 'layout_medium':
HTML and PHP code:
- Original Message -
From: Matt
Subject: [php-list] help with vbulletin update
could someone with experience give me a quick hand updating vb on my
website? thanks
Hi Matt,
What version to what version? If you have a straight install
- Original Message -
From: shaggy2dope2126
So heres the problem. the form works in three parts, all of the them
except for the last part where the mysql queries are ran. The
variables of starting and ending number are not being sent. i have
tried both methods of post and get with the
- Original Message -
From: olunkwaik
Subject: [php-list] CAN YOU DO SOMETHING CRAZY FOR ME?
Hi everyone, it's me Iyke(D-SUN), tommorrow Wednesday 28th May, 2008
is my girl's birthday, I don't have much cash to celebrate it or buy
her a present, but I have been brainstorming all weeks
- Original Message -
From: nj7874
I am a beginner to web development. I want to add a forum to my
website. I found this website that list different forums:
http://mashable.com/2007/08/19/online-forums/
http://mashable.com/2007/08/19/online-forums/ So I downloaded the
Orca one. I tried
- Original Message -
From: Lenny Davila
I have a script that uploads and resizes an image and puts it in a users
directory
www.mysite.com/members/USERNAME/IMAGE
http://www.mysite.com/members/USERNAME/IMAGE%20_FILE.jpg _FILE.jpg
While testing I had to delete a few images. I could not
- Original Message -
From: arun gupta
HOW to call mysql procedure in PHP??
pls. reply ASAP
Thanks and Regards,
__
http://dev.mysql.com/doc/refman/5.0/en/stored-procedures.html
- Original Message -
From: lilmouseman
Hi Everyone. First time poster.
My question is about extracting part of a path from the right.
e.g. folder/images/testimage.jpg
how do I get everything from the right all the way up to the first /
Thank you in advance.
- Original Message -
From: John Black
[EMAIL PROTECTED] wrote:
- Make sure that the RE prefix is before the [php-list] prefix or some
mail clients will screw up the subject
Good: RE: [php-list] Message Subject
Bad: [php-list] RE: Message Subject
I think this one is impossible to
- Original Message -
From: Alexandra
Hi everyone,
My name is Alexandra and I just joined today, I don't know any PHP,
but I have encountered an issue that may have to do with PHP
programing. I do simple websites and create contact forms in Front
Page, because I haven't figured out how
- Original Message -
From: Waqas Habib
[EMAIL PROTECTED] wrote:
- Original Message -
From: Waqas Habib
Thanks. I am giving you my specification with an example.
Suppose i want to send 7-Bytes to a socket. I want to put 1 in first
byte, 0 in second byte, 3 in 3rd byte, and an IP
- Original Message -
From: fremaje31
Hello All,
I have a bunch of mailing list in MS Excel format. I want to upload
them into my MySQL database. What is the best way to do this? I've
seen converter software, has anyone used any before and are any of them
free?
Thanks in advance for
Hi all,
How do I append an array of arrays to an array in php.
If I have -
array(0,2,2)
or
[0,2,2]
and I have -
array(array(1,2,2),array(2,2,2),array(3,2,2))
or
[[1,2,2]
[2,2,2]
[3,2,2]]
How do I append the array of arrays to the array so that I have -
Hello All,
I have made an e-mail forwarder that I want to filter out e-mail addresses.
It is all working except the REGEX.
I have NOT used REGEX before. Can someone tell me what I am doing wrong?
This script loads the e-mail as a file from the local e-mail folder on the
server.
$text =
- Original Message -
From: Waqas Habib
Thanks. I am giving you my specification with an example.
Suppose i want to send 7-Bytes to a socket. I want to put 1 in first
byte, 0 in second byte, 3 in 3rd byte, and an IP address in remaining
bytes. How can i do it? And also its reverse
- Original Message -
From: Waqas Habib
Hi, I want to convert my (string, integer) data to binary format. And also
from binary data to integer format and to string also. Is there any data
type in php to hold binary data.
-Waqas Habib
between -00-00 and -99-99
- Original Message -
From: Waqas Habib
Hi, My name is waqas. I am new in PHP and facing a problem in using it. I
have an application (not in php) which is trying to connect on a specific
IP and port (8060). After connection it will send messages on that port. I
want to write a php script
- Original Message -
From: Ian
as per the title.
I've got a form where the user inputs there own name, e-mail address,
subject and then from 2 drop-down selection menus select the type of
email being sent and who to send it to.
I've googled a few scripts but from my understanding they
- Original Message -
From: Ian
--- In php-list@yahoogroups.com, [EMAIL PROTECTED] wrote:
Q: Is there any way to allow someone to attach a file without uploading
to the web server?
A: No.
You have to upload the file to the tmp directory first, send it via
email
and then delete it.
- Original Message -
From: nitin sharma
I needed the mobile photo send to site
using the email
how its possible and whats the step to follow to create this featured in
site
this featured is used in the
Use this address to Photobucket.com
Thanks
-
Hi,
- Original Message -
From: fremaje31
Hello All,
I need you all again. I have a event page that search by date but I
want visitors/users to be able to search by date range. I've searched
Google for this but I must be wording it wrong because I'm not getting
the solution.
Here's
- Original Message -
From: whoisquilty
Robert - Your solutions all insert the name of the submit button rather than
pass the form
data.
I've found that I have access to the ini file. But there is no entry for
magic quotes. Is this
the best way to fix the problem? What do I need to add
- Original Message -
From: whoisquilty
Robert - Your solutions all insert the name of the submit button rather than
pass the form
data.
I've found that I have access to the ini file. But there is no entry for
magic quotes. Is this
the best way to fix the problem? What do I need to add
- Original Message -
From: whoisquilty
When I insert into my database from a form, there are slashes added before
quotes. What do
I need to do to get rid of this?
I have come back to read your original question again.
Some SQL databases require
- Original Message -
From: Wade Smart
03242008 1830 GMT-6
Im working on a ftp script and right now Im just learning from the
script on the php site.
This line:
$upload = ftp_put($connection_id, $destination_file, $source, FTP_BINARY);
Im having trouble with: $destination_file
- Original Message -
From: David
Hi
I am trying to insert a decimal point two places from the right end of
a string so 100 would become 1.00 I have tried using number_format and
printf but I get 100.00
Any suggestions?
Thanks
David
$string =
- Original Message -
From: odbapsvm
Okay, now I'm totally confused.
When it comes to php does Internet Explorer and
Firefox work differently?
When I type c:\php\myfile.php in internet explorer I don't see the
output of the php file but the entire contents of the php file.
When I type
- Original Message -
From: William Piper
Bob wrote:
snipped some message here
You need to group your selects together, also it is a good idea to name
your tables in the join to keep from ambiguity issues though not
mandatory. See below:
SELECT *,
DATE_FORMAT(h.msg_id,'%W %D %M %Y
- Original Message -
From: Joseph
Hi all
First, thanks for not being offended by my comments Pete. It's so
refreshing to be able to discuss such things (and to refer to other
peoples comments) without people people being offended (something
which doesn't always happen, as I found out
- Original Message -
From: Arne Stone
Hallo all,
Sorry for the n00b question!
I am busy learning PHP and from the eBook I copied this code:
?php
// open connection to MySQL server
$connection = mysql_connect('localhost', 'MyUsername', 'MyPassword');
// print status message
if
- Original Message -
From: Leelakh Ran
Hi everybody,
My site URL showing as http://www.sub.mysite.com/onetwothree.htm?get=name
I can access this URL on following ways.
$urlfullget = $_SERVER[HTTP_HOST] . $_SERVER[REQUEST_URI];
$urlsub = $_SERVER[HTTP_HOST]
Here, variable $urlfullget
- Original Message -
From: whoisquilty
I'm trying to create an input form. The user will input info into this form
and it will then
insert into a database.
Here is my form code:
form id=FormName action=version_add2.php method=get name=FormName
pVERSION TITLE*: input type=text
- Original Message -
From: Gangadhara Prasad
Hi All,
I am rewriting rule in .htaccess file.I need to convert all .php files with
.html extension.
Ex: http://localhost/test/test.php to http://localhost/test/test.html
http://localhost/test/test.php?id=1 to
- Original Message -
From: Arne Stone
Hi guys,
I'm having some trouble while trying to learn PHP. Here is the code:
html
head/head
body
?php
// check if form has been submitted
if (!$_POST['submit'])
{
// if not, display form
?
Select from the items below: br /
form
- Original Message -
I am able to use an html form page to post to a PHP script. The html
form hits a PHP file, which reads the $_POST variables and does
various stuff. I need to do have a different PHP script do what the
html form does: post the the PHP file. When I try the following
- Original Message -
From: Brian E Boothe
dang it here we go again:
I'm getting these errors AGAIN !! on my PHP page: how do i get
these NOT to show up and my code Actually WORKS using *PHP*
*ver*. 5.1.6
Notice: Undefined variable: submit in
- Original Message -
From: Wade Smart
Im using an include to pull in a very large array.
There is an error it says but I can see it.
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING,
expecting ')' in
/var/www/public/Misc/Beau/SiteRedo/NOAA_Weather_Codes.php on line 82
- Original Message -
From: Wade Smart
[EMAIL PROTECTED] wrote:
- Original Message -
From: Wade Smart
Im using an include to pull in a very large array.
There is an error it says but I can see it.
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING,
- Original Message -
From: David C.Z. Wacks
Hi,
I have been involved in PHP/MySQL for many years, from custom coding
dynamic sites to leading teams in Web analysis and design, programming
(various languages, Quality Control/Qualit Assurance, IT, and Tech Support
departments for some
1 - 100 of 113 matches
Mail list logo