te what it does in php...
good luck!!
bruce
-Original Message-
From: Mikey <[EMAIL PROTECTED]>
Sent: Jan 19, 2005 4:13 PM
To: "'[php] PHP General List'"
Subject: [PHP] NT domain info
Hi NG!
Does anyone here know of a way of getting at the user account informat
of putting them
together
as a comprehensive app!!
thanks
bruce
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ot sure that this
is the best approach (given that i have no experience with ldap!)
i'm open to a php/perl/linux/mysql/apache solution.
searching through php/google hasn't turned up anything as of yet...
if you have any thoughts let me know...
thanks
bruce
[EMAIL PROTECTED]
--
PHP Gener
so...
you're saying that 7.9 (repeating) is equal to 8.0
i say prove it.. as i recall the numbers might be for all practical purposes
the same, they are in fact vastly different...
so, prove your assertion...
-bruce
-Original Message-
From: Richard Lynch <[EMAIL P
0 = 14,800 based upon my level of precision....
-bruce
-Original Message-
From: Jochem Maas <[EMAIL PROTECTED]>
Sent: Jan 25, 2005 3:42 PM
To: Bruce Douglas <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], Jordi Canals <[EMAIL PROTECTED]>,
PHP List
Subject: Re: [PHP
de incorporated...
thanks
bruce
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that allows the admin to
deny/enable/disable users, as well as track various attributes within the
site...
if i have the basic shell/structure, i can modify the code to my needs..
comments/criticisms/thoughts...
thanks
bruce
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net
.ini file
also needs to be setup correctly.
-bruce
-Original Message-
From: Jochem Maas <[EMAIL PROTECTED]>
Sent: Feb 5, 2005 8:46 AM
To: Sarah <[EMAIL PROTECTED]>
Cc: php-general@lists.php.net
Subject: Re: [PHP] Problems with PHP and MySQL
Sarah wrote:
> Hi,
>
>
you actually have php/mysql setup properly...
once you've done this... you can get into the guts of your app, to determine
where the prob is....
-bruce
-Original Message-
From: Sarah <[EMAIL PROTECTED]>
Sent: Feb 5, 2005 7:41 AM
To: php-general@lists.php.net
Subject: [PHP] Pr
Hello,
I am fairly new to PHP, and I am looking to create a search
functionality on a website using php. Can anyone point me to a good
tutorial that can walk me through this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d not copy file"
the page is at http://inspired-evolution.com/Uploader.php
and the PHP code is:
Sent:
Size: bytes
Type:
is there a way to accomplish this by adding something to the script above?
thanks,
Bruce
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
Hello,
I am trying to add a PHP search to my site and the read me file says to:
2. In the server, create a database in MySQL to hold Sphider data.
a) at command prompt type (to log into MySQL):
mysql -u -p
Enter your password when prompted.
b) in MySQL, type:
CREATE DATABASE sphider_db;
troub
diting privileges. Of course 'password' is changes with the password
used to connect in the actual script. and I double checked that to be
correct as well. Any suggestions?
--
::Bruce::
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
following additional information: $Textarea");
if ($formsent) {
echo " Hello, $firstname.
We have received your request for additional information, and will
respond shortly.
Thanks for visiting inspired-evolution.com and have a wonderful day!";
}
?>
--
::Bruce::
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks guys. I am on a Mac and have BBEdit light, which is not too
great for PHP editing, from m experience.
On 7/16/05, Burhan Khalid <[EMAIL PROTECTED]> wrote:
> Edward Vermillion wrote:
> > Bruce Gilbert wrote:
> >
> >> Hello,
> >>
> >> I
Hello,
I am using the following to do link replacing:
preg_match_all("/<\s*a\s+[^>]*href\s*=\s*[\"']?([^\"' >]+)[\"'
>]/isU",$file[$x],$matches);
It works great for all but 'https' links. I am not that versed in
regular expressions. Would anyone know what I need to put in there so
that it w
d your request for additional information, and will
respond shortly.
Thanks for visiting inspired-evolution.com and have a wonderful day!
Regards,
Inspired Evolution";
?>
any assistance/guidance is greatly appreciated. Thanks list!
Bruce G.
http://www.inspired-evolution.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d to
>
> include an ELSE bracket. Like so..
>
> if(this error || that error || some other error) {
> print error;
> } else {
> //no errors, thank them!
>print THANKS!
> }
>
> - Original Message -
> From: "Bruce Gilbert" <[EMAI
Hello,
I am well versed in coding with xhtml which requires all lower case
and am pretty much a newbie at PHP so that is why I am asking this
question.
is this acceptible
if ($_post [sender_email] == "") or does at have to be if ($_POST
[sender_email] == "")
in short, do uppercase and lowercas
will match?
Chris Bruce wrote:
Hello,
I am using the following to do link replacing:
preg_match_all("/<\s*a\s+[^>]*href\s*=\s*[\"']?([^\"' >]+)[\"'
>]/isU",$file[$x],$matches);
It works great for all but 'https' links. I am not that
Hello,
I am trying to get a form to work integrating html with PHP.
the code I have is:
Your Name:< /br>
< /br>
Message:< /br>
";
if ($_POST['op'] !="ds") {
// they need to see the form
echo "$form_block";
} else if ($_POST['op'] =="ds") {
//check value of $_POST['sender name']
if ($_POST
g, $mailheaders);
//display confirmation to user
echo "mail has been sent!";
} else if ($send =="no") {
//print error messages
echo "$name_err";
echo "$email_err";
Here is the entire code on the page. Now I am getting an error again...
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml"; xml:lang="en-US"
lang="en-US" dir="ltr">
Form Test>
Skip over navigation
About Me
Skill set
Hire Me
Portfolio
Contact
Résumé
can anyone give me an idea on how to return info. from a forl pulldown menu
eg:
Purchase
Construct Home
and return that to an email address.
thanks
--
::Bruce::
--
PHP General Mailing List (http://www.php.net/)
To
firstname!.
We have received your request for additional information, and will
respond shortly.
Thanks for visiting inspired-evolution.com and have a wonderful day!
Regards,
Inspired Evolution";
} else if ($send =="no") {
//print error messages
echo "$name_err";
echo "$email_err";
echo "$message_err";
echo "$form_block";
}
}
?>
* indicates a required field.
Inspired-Evolution - Web Site: Design, Development,
Marketing for Raleigh/Durham, Chapel Hill, Cary North Carolina.
--
::Bruce::
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
selection
choice) or a number 1,2,3 etc? (or does it matter).
and for the return info what's the difference between:
and without the isset?
thanks!
--
::Bruce::
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ttp://www.inspired-evolution.com>\n";
$mailheaders .="Reply-To: {$_POST['email']}\n";
//send the mail
mail ($to, $subject, $msg, $mailheaders);
//display information to user
echo "Hola, $firstname!.
We have received your request for additional information, and will
respond shortly.
Thanks for visiting inspired-evolution.com and have a wonderful day!
Regards,
Inspired Evolution";
}
?>
Inspired-Evolution - Web Site: Design, Development,
Marketing for Raleigh/Durham, Chapel Hill, Cary North Carolina.
and if this helps, here is the PHP info.
:
http://www.inspired-evolution.com/info.php
TIA!
--
::Bruce::
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I guess this would help. The URL to my PHP config is
http://www.wealthdevelopmentmortgage.com/test/form_test/info.php
--
::Bruce::
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
someone take a look at my configuration settings and see if there
may be something to cause this? Of course there may be something I
missed in the code as weel, but it the past I always got some sort of
error, not just a blank page.
thanks,
--
::Bruce::
--
PHP General Mailing List (http
n line 556'
what does this indicate?
--
::Bruce::
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I don't see any missing semi-colons off hand. The error is supposedly
on line 556 in the below code:
Wealth Development Mortgage :: TEAM
HOME
CONTACT US
PAYMENT CALCULATOR
HOME
COMPANY
t is a requirement for the heredoc.
>
> You also didn't close the PHP block after END_FORM;
> Then you need to open a PHP block at about line 635 before the if
> statement.
> [/snip]
>
> Were you able to resolve this?
>
--
::Bruce::
--
PHP General Mailing List (h
!";
}
}
return $err_msg;
}
any assistance is greatly appreciated!
--
::Bruce::
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a form that submits and returns on the same page and works fine.
I know want to change the submission action from {$_SERVER['PHP_SELF']}
to an external thanks page so the form method would change to:
now I need to know what else I have to change in the form below to
change to get the
thanks for the reply.
and where on the page would that need to go? Within the head tags?
and would it need to be within
???
On 10/5/05, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Wed, 2005-10-05 at 20:44, Bruce Gilbert wrote:
> > I have a form that submits and returns o
7; );
on it.
can anyone explain why this is happening and how to rectify?
TIA
On 10/5/05, Robert Cummings <[EMAIL PROTECTED]> wrote:
>
> On Wed, 2005-10-05 at 21:15, Bruce Gilbert wrote:
> > thanks for the reply.
> >
> > and where on the page would that need t
ine 168 is the one with header( 'Location: thanks.php' );
> on it.
> can anyone explain why this is happening and how to rectify?
> TIA
>
> On 10/5/05, Robert Cummings <[EMAIL PROTECTED]> wrote:
> >
> > On Wed, 2005-10-05 at 21:15, Bruce Gilbert wr
27;s always been something people kick themselves for
> not seeing before. hah
>
> Keep looking, you'll find it.
>
> -TG
>
> = = = Original message = = =
>
> I checked and no white space involved. What would I need to put tin the
> exit()/die() function?
>
> --
&g
I am trying to set up some validation for my php form with the email
field using the following code:
if(!eregi("^(.+)@(.+)\\.(.+)$",$_POST['email']))
{
$error_msg .= "Your email appears to be invalid.";
$ok = "false";
}
I am trying to accomplish not being able to enter anything other than
a va
-- Forwarded message --
From: "Richard Lynch" <[EMAIL PROTECTED]>
To: "Mark Rees" <[EMAIL PROTECTED]>
Date: Mon, 17 Oct 2005 15:12:50 -0500 (CDT)
Subject: Re: [PHP] Re: a couple of problems with PHP form
On Mon, October 17, 2005 5:32 am, Mark Rees wrote:
> --
ne *63*
-Bruce
On 10/17/05, Minuk Choi <[EMAIL PROTECTED]> wrote:
>
> Wait a minute... you meant
>
> }
> else
> {
> echo "input.normal";
> }
> ?>" id="firstname" name="firstname" type="text" value=" $
x27;email']}\n";
//send the mail
mail ($to, $subject, $msg, $mailheaders);
//display information to user
echo "Hola, $firstname!.
We have received your request for a web site review , and will respond
shortly.
Thanks for visiting inspired-evolution.com
<http://inspired-evolution.c
com/Contact_Form.php>
* on line *52*
line 52 is:
" id="firstname" name="firstname" type="text" value="">
how would I fix this error?
On 10/18/05, Ford, Mike <[EMAIL PROTECTED]> wrote:
>
> On 18 October 2005 15:50, Bruce Gilbert wrote:
&
ext" value=" $_POST['firstname'] ?>">
>
> how would I fix this error?
> [/snip]
>
> You are missing several semi-colons;
>
> "normal";}?>"
> id="firstname" name="firstname" type="text" value=" $_POST['firstname']; ?>">
>
--
::Bruce::
dont know of a function but this should work
$size = count($array);
for($i=0;$i<$size;$i++){
if($selected_person == $array[$i]){
echo"index: $i";
}
}
Adrian
Ross wrote:
Hi,
I have an array
$people= array ("ross", "bob", "chris")
I have a variable
$selected_person = "chris"
I think you can use a different handle when using fwrite() which will
make php create a file if one is not already there: something like
if ($fp = fopen($file,"x+")){
echo"opened";
}
fwrite($fp,$content);
fclose($fp);
Ade
Angelo Zanetti wrote:
Hi guys.
I've created a small
load each row of the resultset into an array $row using
mysql_fetch_array(), each field in the result set row will be held in
the corresponding array element.
while ($row = mysql_fetch_array($resultset, MYSQL_NUM)){
echo"$row[0] | $row[1] | $row[2]";
}
Hope this helps,
Ade
Danny wrote:
text are repeated), and below the details of
the records
Your solution shows:
Customers | John | A36 | New York
Customers | Jason | B45 | Los Angeles
(...)
And I need
Customers
John | A36 | New York
Jason | B45 | Los Angeles
(...)
(...)
On 10/27/05, *Adrian Bruce* <
if (($_POST['$table_name']) == 1){
//do something
}
what you have is essentialll looking for a posted value called '$table_name==
1'!
Ross wrote:
Thanks fpr all the feedback on the password but I have another one...
How do I use $_POST with variables. Cant find an example of this anywhere
mysql_close();
header("location: mailsent.php");
exit;
?>
The form is located here:
http://www.inspired-evolution.com/sendmailform.php
let me know if I need to provide any more information.
Thanks!
Bruce Gilbert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mailer: PHP4\n"; //mailer
> > $headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal
> > $headers .= "Mime-Version:1.0\n Content-Type: text/plain;
> > charset=\"iso-8859-1\nContent-Transfer-Encoding: 8bit\n";
>
--
::Bruce::
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
me', 'lastname', 'address', '
thanks in advance,
Bruce Gilbert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e values ('', '$_POST[f_name]',
'$_POST[l_name]', '$_POST[address1]', '$_POST[address2]',
'$_POST[address3]', '$_POST[postcode]', '$_POST[country]',
'$_POST[prim_tel]', '$_POST[sec_tel]', '$_POST[email]
for the table name you mean like this?
$table_name =" 'Contact List' ";
On 11/13/05, Jasper Bryant-Greene <[EMAIL PROTECTED]> wrote:
> Bruce Gilbert wrote:
> >> You would need to show us the SQL that was causing that error. Otherwise
> >> it
Sorry for the newbie question...
I did a search on php.net but didn't find my answer.
what does \r\n do as opposed to just \n?
and yes, I know what \n does.
On 11/14/05, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Fri, November 11, 2005 9:33 pm, Bruce Gilbert wrote:
&g
Hi
I am trying Dynamically creating a Query based on form input for an
intranet, i have a text input that allows a user to input part of a
where clause such as - not like '04%' - . this bit works fine but i
would like to display the clause back in the form field when the page
reloads.
$cl
t;;
php.net/htmlentities
Cheers,
David Grant
Adrian Bruce wrote:
Hi
I am trying Dynamically creating a Query based on form input for an
intranet, i have a text input that allows a user to input part of a
where clause such as - not like '04%' - . this bit works fine but i
would
Hi
I currently use an automatic logout out system that sets a time out in
two ways.
(If the ip address on computer is recognized then set timeout to 10
mins, if not then set to 2 mins.)
1) The time out setting is used to create a meta refresh tag that will
re-direct the user to the logout
Definitely sounds as if you should be employing the object-orientated
methodology, If the project is as big as you say it is then really you
should be looking to use some UML planning tool so that you can keep all
you code organised.
It is ok on smaller projects to bash out some rough plans an
hi all
a quick one i hope! i am trying to allow users to save a set of data as
a csv file when clicking on a link on our intranet. i can do all the
formatting and output to file but i would like the user to be able to
specify where the file is saved in the same way as they would choose a
fil
i see what you mean but i dont think that will work for me, ideally
just want them to choose a location after which i will create the file
in this location. the only option i can think of the moment is to
default to the users home directory.
Ive just realised that the subject of my email is
aaah, scrap that, i think i have solved my own problem,
thanks for your time anyway,
Jay Blanchard wrote:
[snip]
i see what you mean but i dont think that will work for me, ideally
just want them to choose a location after which i will create the file
in this location. the only option i
Hi
Does anyone know where i can get some decent gdf fonts for using in the
imageloadfont() function, i have found some on the net but they are all
a bit naf so far. I'm really just looking for something like Arial or
verdana. Im creating pie charts on the fly but at the moment they look
lik
Has anyone used any of the php mapping classes that are available?
(Image_GIS etc) I would like to create dynamic maps and plot data i.e.
postcodes on them like you do in applications like map-point. I am not
quite sure if there is any php scripts/programs that already do this or
if i have
Something along these lines will work fine
";
while ($row = mysql_fetch_array($query, MYSQL_NUM)){
echo"$row[1]";
}
echo"";
?>
Regards
Ade
Sue wrote:
Hello,
We have a form that contains a Select option for a listing of available
dates for the user to choose from. Right now we have
r proposed solution
Jochem Maas wrote:
teaching noobs to output html while (oun intended) looping thru a
result set is counter-productive. discuss.
Adrian Bruce wrote:
Something along these lines will work fine
";
while ($row = mysql_fetch_array($query, MYSQL_NUM)){
echo&qu
David
I found this resource usefull when authenticating users against LDAP,
its easy to set up and use.
http://adldap.sourceforge.net/
Ade
David BERCOT wrote:
Hi,
I'm new on this list and with PHP. But I am a old web developer (with
ASP).
I'm looking for verifying a username/password in A
I know this is in the archives, but I couldnt seem to find the answer I needed. I
am running redhat8, apache 2.0.44, and php 4.2.2.
I am trying to write a script that will emulate the IIS server and request NTLM auth.
from the browser. And then decode the base64? information and compate th
?
--
*** Phillip B. Bruce ***
*** http://pbbruce.home.mindspring.com ***
*** [EMAIL PROTECTED] ***
*** ***
*** "Have you ever noticed? Anybody going slower
Josh,
Try just using mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 12:55 PM
To: [EMAIL PROTECTED]
Subject: [PHP] W2K SP2, PHP 4.2.1, IIS 5
Hey all,
I have a problem, that I can't seem to find the answer to. I have
checked the archives and the website, but to no avail. I have ins
$addr, $port))
echo "\n$buffer";
}
}
I never see $socket being readable, i.e. a return value from
socket_select greater than 0. I also can see in EtherPeek that UDP
packets are being sent back to this socket in response to the
broadcast.
Any help would be appreciated.
--Bruce
the web server several times.
What else do I need to check? What could be preventing Apache and PHP from
playing nice together?
--
Bruce Vander Werf
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
don't
believe DNS is the culprit. Besides, mail() is slow, and that is accessing
the SMTP server locally. What would be taking SMTP so long to respond? Any
configuration parameters I need to look at?
I am using SendMail 8.10.2 on a Cobalt RAQ4.
--
Bruce Vander Werf
[EMAIL PROTECTED]
--
; /usr/bin/lynx -source
"http://your.server.address/phpscript.php"; 1>/dev/null 2>&1
You can leave off the stdin and stdout redirects if you want an email that the script
was
run.
HTH..
- Bruce
Paul Roberts wrote:
> ok
> for lynx, at the command prompt i get
>
direct $prt to system print command
$cmd="echo $prt | ".PRINT_CMD;
// execute the command
exec($cmd);
This prints fine, unless the variable $job_desc has a " AND ' in the
string. If it contains " OR ' it prints fine. For example:
if $job_desc = 40" & 20"
S: Solaris 2.8 10/00 on Intel Hardware.
Apache: 1.3.9
PHP: 3.0.15
mysql: 3.23.46
My ISP is running:
OS: Irix 6.4
Apache: 1.3.9
PHP: 3.0.9
mysql: 3.22.23b
I do appreciate any help on this.
--
*
Hi,
By any chance that Luke Welling or Laura Thomson is on this list?
--
*** Phillip B. Bruce ***
*** http://pbbruce.home.mindspring.com ***
*** [EMAIL PROTECTED
ming up ok.
--
*** Phillip B. Bruce ***
*** http://pbbruce.home.mindspring.com ***
*** [EMAIL PROTECTED] ***
*** ***
*** "Have you ever noticed? Anybody go
llowing:
if ( $pages[code]="intro")
print "";
else
print "";
The objective would be to have a whole row by like I describe above.
The thing is I don't want to write the same routine just for that
one row
and by that I mean p
"Phillip B. Bruce" wrote:
> Hi,
>
>Look at the code below first:
>
> 2
> 3 include "include_fns.php";
> 4 include "header_news.php";
> 5
> 6 $conn = db_connect();
> 7
> 8 $pages_sql
Any ideas?
--
*** Phillip B. Bruce ***
*** http://pbbruce.home.mindspring.com ***
*** [EMAIL PROTECTED] ***
*** ***
*** "Have you ever noticed? Anybo
with the message:
The requested operation has failed.
What have I missed or done wrong?
Thanks for the help...
Bruce
My mailbox is spam-free with ChoiceMail, the leader in personal and corporate
anti-spam solutions. Download your free copy of ChoiceMail from
www.digiportal.com
oblems in the new
window. When I open a new browser window shouldn't it start a whole new
session and not get anything from the previous browser.
Thanks in advance for your help,
Bob Bruce,
Winnipeg, Manitoba
Canada
--
PHP General Mailing List (http://www.php.net/)
To un
, but leave the same web page displayed.
Thanks,
Bruce
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks. This worked out to be the best solution of the suggestions I
had received. I've implemented it and it works as advertised.
Bruce
John Browne wrote:
Check out the "xmlhttp" object in Javascript:
http://jibbering.com/2002/4/httprequest.html
On 6/13/05, Kall, B
.
Is there some way for a session to be registered to both?
mysubsite.mycompany.com (using the fully qualified domain name)
AND
mysubsite (using the non-fully qualified domain name)
Thanks,
Bruce
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
601 - 686 of 686 matches
Mail list logo