am not having a lot of success with opening a socket to a secure domain
(php 4.3.8 - apache - openSSL)
$fp = fsockopen($url , 443 ,$errno, $errstr, 30);
have tried the following $urls
---
$url = 'domain.net';
Bad Request
Your browser sent a request that this server could not
Check out abstraction layers
I use adodb
http://adodb.sourceforge.net/
makes coding much much easier ;-))
eg - mysql example
$sql = insert into table (col, col2)values('$this','$that');
$db-execute $sql;
// get last id
$new_id = $db-getOne('select last_insert_id()');
have fun
Pete
[EMAIL
here's the way I do it
logout.php
?php
session_start();
$_SESSION = array();
session_destroy();
header('Location: login.php');
?
Jacques wrote:
I am developing an application. When the user signs in a Session ID is
created (for argument sake: 123). I have a sign out page that has the script
try
$_SERVER['SCRIPT_URI'];
Gary C. New wrote:
I am writing some php code that requires the $GLOBALS['SCRIPT_URI']
variable. When I access the code under its encrypted (https) location
it is available without issue. However, when I try to access the code
under its unencrypted (http) location it
Check this out
http://adodb.sourceforge.net/
http://phplens.com/adodb/code.initialization.html#init
have fun
Pete
Bruno Santos wrote:
Hello.
I need to to an application in PHP with graphics creation.
The database where i need to go and fetch the values is access.
is possible for PHP to fecth
Jay Fitzgerald wrote:
I have messed with this for a couple of days and cant get it right. Maybe I
need sleep :-)
The code below is echoing the qty correctly (10, 5, 25)
$total = 0;
for ($i = 1; $i = $sendnum; $i++)
{
$qty = $_POST['qty'.$i];
echo $qty . 'br /';
$total
check www.hotscripts.com
Ryan A wrote:
Hey,
I am looking for a software that just lists adverts...
eg:
Like ebay but without the bidding
Requirements are simple, so simple that i am sure something like this exists
and i dont have to write it myself:
0.They must register first then...
1.offer the
I've been messing about with this for a while to no avail.. so help
would be appreciates
I'm new to regular expressions and tried this with preg_replace, now I'm
using eregi_replace !
here's the text
$txt = 'span style=font-size: 10pt; font-family: Times New
Roman;Itbr /
blahh blahhh blahhh
The pattern
$pattern = 'font\-size:.*?\;';
throwns the error
eregi_replace(): REG_BADRPT
Erwin Kerk wrote:
pete M wrote:
I've been messing about with this for a while to no avail.. so help
would be appreciates
I'm new to regular expressions and tried this with preg_replace, now
I'm using
Thankyou
Diolch
danka
There seems to be a big difference between eregi_replace() and preg_replace
Am reding teh Sams - Regular Expressions in 10 mins bu the syntax seems
ot be different. !!
regards
pete
Erwin Kerk wrote:
pete M wrote:
The pattern
$pattern = 'font\-size:.*?\;';
throwns the error
Is there an easy way to trim an array ?
I'm using array_unshift to push elemnts onto the front of an array but I
want to limit the size to 20 ??
Is there an easy way to do this without looping and unsetting the
elements ??
tia
Pete
--
PHP General Mailing List (http://www.php.net/)
To
I've got a database table with a whole list of windows file paths.
eg
Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Binder.lnk
Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Excel.lnk
Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Office Setup.lnk
Advent Tower
I'm trying to figure out out to put a directive in .htaccess to make the
session timeout in 4 hours ..
tried
php_flag session.cookie_lifetime 240
and a few others
can someone help !
tia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
check out phpmailer
http://phpmailer.sourceforge.net/
use it all the time - its brilliant !!!
Balwant Singh wrote:
hi,
I am using FEDORA 3 and PHP. I want to send email to outside by my above
mentioned linux machine through PHP. For this i want to use my SMTP
sever, which is on a WINDOWS machine
http://phpmailer.sourceforge.net/extending.html
Balwant Singh wrote:
hi,
I am using FEDORA 3 and PHP. I want to send email to outside by my above
mentioned linux machine through PHP. For this i want to use my SMTP
sever, which is on a WINDOWS machine
Please inform what setting to be done in
check out
hotscripts.com
Clive Zagno wrote:
Hi
does anyone use any cool php mailing list software.
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi clive
I tried all of them and I must admit smarty comes out on top by a mile
I use it on a very busy virtual host and have had NO problems with slow
script etc, highly recommended http://smarty.php.net
pete
Clive Zagno wrote:
Hi all,
What templating engines do you use with php and why?
Ive
http://phpmailer.sourceforge.net/
excellent and easy to use class
Malcolm Mill wrote:
Does anyone know of a PHP script to access gmail's POP services?
Thanks,
Malcolm.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
not a php expert but have filed this bug report re validating
is_numeric('3e0');
http://bugs.php.net/bug.php?id=32943
Now tried
function isnumeric($n) {
if (ereg(^[0-9]{1,50}.?[0-9]{0,50}$, $n)) {
return true;
} else {
return false;
}
}
and that doent seem to work either..
set a $_SESSION['var'] at the end of the first post and check for this
the second time around
pete
Fredrik Arild Takle wrote:
Hi,
what is the easiest way to check if a person i registered twice in a
mysql-table. Lets assume that I only check if the last name is in the table
more than once.
http://uk2.php.net/manual/en/function.array-diff.php
http://uk2.php.net/manual/en/function.array-diff-assoc.php
Blackwater Dev wrote:
Hello,
Is there a good way to get the difference in two arrays and have both
values returned? I know I can use array_dif to see what is in one and
not the other
loads at hotscripts.com
http://www.hotscripts.com/PHP/Scripts_and_Programs/E-Commerce/index.html
Adrian Teasdale wrote:
Charles
Try oscommerce.org - it's an open source app written in PHP that has a
fantastic community and is incredibly feature-rich. I'm not associated
with the project, but I
I've dome this recently using a small iframe src=users_online.php in
the top right corner.
users_online.php has the meta refresh tag set.
META HTTP-EQUIV=refresh content=2;URL=users_online.php
pete
Matias Hohl wrote:
Hello php-Freaks
I would like to display the number of users that are
Does xml_HTTP work with Mozilla ??? !
pete
al wrote:
You can use XML-HTTP - works both Mozilla 1.x and I.E. 5.x and write it
to a DIV.
Pete M wrote:
I've dome this recently using a small iframe src=users_online.php
in the top right corner.
users_online.php has the meta refresh tag set
$subject .= \nBooking Commences: .date(jS F Y). at .date(H\:i)
Shaun wrote:
Hi,
using the folling line fo code i am trying to add some text to an email:
$subject .= \nBooking Commences: .date(jS F Y \a\t H\:i,
strtotime($booking_start_date));
However the output is:
Booking Commences: 24th
I write my code with pencil and paper and then scan it..
Dont need an editor !
John Nichel wrote:
I know we've discussed this numerous times, but I'll chime in again
(mainly because I'm bored).
By far, I have been totally satisfied with UltraEdit. Lightweight, just
about any language you
$dbranch = str_pad($line-dbranch_no, 6, STR_PAD_LEFT);
there's a aslo
$dbranch = str_pad($line-dbranch_no, 6, STR_PAD_BOTH);
and that pads it in the centre
pete
Chris Grigor wrote:
This should be quite an easy task for some...
say for example $line-dbranch has a value of 3
I know that 3 spaces
www.hotscripts.com
Angelo Zanetti wrote:
anyone know of a good HTML mailing list? sorry for the OT post.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
echo td width=\15\ bgcolor=\#9FD9FF\
input type=\checkbox\ name=\chkR[$i]\
value=\$chkSessionF[$i]\/td);
might solve the problem
pete
hi I have a table with rows and each row contains a checkbox ( array) and a
record. TD of the checkbox:
echo(td width=15 bgcolor=#9FD9FFinput type=checkbox
I'm directing client via a link to a download page for pdf documents.
This code works on mozilla + firebird but in IE however it pops up with
a open/save dialog - with the filetype missing and then an error when
open/save pressed saying cannot find the site.
As you can see below I've tried all
from php manual str_pad function
?php
$input = Alien;
print str_pad($input, 10); // produces Alien
print str_pad($input, 10, -=, STR_PAD_LEFT); // produces -=-=-Alien
print str_pad($input, 10, _, STR_PAD_BOTH); // produces __Alien___
print str_pad($input, 6 , ___);
I use phpmailer
http://phpmailer.sourceforge.net/
Makes life much easier
An example of mass mailing is here
http://phpmailer.sourceforge.net/extending.html
pete
Binay wrote:
Hi all!
i need to email out newsletter to say 1000 recipients. I want to know what is the maximum number of recipients i
I'm trying to send the following header to force ms-word to open a html
document
header(Content-type: application/msword);
header('Content-Disposition: attachment; filename=invoice.doc');
it works in Mozilla but NOT in IE..
any ideas as its driving me crazy..
tia
pete
--
PHP General
thankyou,thankyou, thankyou, thankyou, thankyou, !!
I spent at least a day on trying to get it to work - now does
pete ;-
Chris Hayes wrote:
At 18:16 15-10-03, you wrote:
I'm trying to send the following header to force ms-word to open a
html document
header(Content-type:
Some XML would do the trick
pete
[EMAIL PROTECTED] wrote:
First of all, Hi!
I just started getting into php a week ago, but already ran into a problem I
can't seem to solve.
The issue is this : I code 2 different websites, each has it's own mySQL-DB.
Website A has a login-section, each time you
try extract($_POST)
pete
Javier . wrote:
I'm re-coding a fairly large multi step form which was written with
PHP's register globals turned on. Since upgrading PHP this form has
stopped working and needs editting.
Rather than manually changing each var -
$foo to$_POST['foo']
(there
insert into table (date_created) values( now() )
;-)
pete
Diana Castillo wrote:
how can I format the current date and time so that I can insert it into a
mysql table with an insert query?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
take a look at this
http://phpinsider.com/php/code/SafeSQL/
pete
Jeremy Russell wrote:
Hello list,
I was just sitting here thinking how to secure my php code and
thought I would run it by the pros. I don't know what the standard
practice is to secure against sql injection and malformed
It might be the script timing out - defaults to 20 seconds
check
set_time_limit()
regards
pete
Grant Rutherford wrote:
Hi there,
I'm trying to get a file upload to work with PHP.
The file I'm attempting to upload is a 742kB pdf file, but this will
have to work for files up to 50Mb of all
have a sniff around
http://www.hotscripts.com/PHP/Scripts_and_Programs/index.html
pete
Mike Yrabedra wrote:
Anyone know of a good 'comments/ feedback' creation script that writes to a
static text file (no MySQL)?
The user would enter their email, name and comment. They would then be
displayed
$array = array(
'fruit1' = 'apple',
'fruit2' = 'orange',
'fruit3' = 'grape',
'fruit4' = 'apple',
'fruit5' = 'apple');
// this cycle echoes all associative array
// key where value equals apple
while ($fruit_name = current($array)) {
if ($fruit_name == 'apple') {
need a little bit of Javascript
Here's a cut and paste from one of my projects
script language=JavaScript
function confirmEdit()
{
var f = document.frmEdit;
if(confirm('Are you sure you want to save the changes. This operation
CANNOT BE REVERSED'))
{
f.submit();
}
}
/script
and then a
function check_admin_user()
{
//global $admin_user;
// if ( (session_is_registered(admin_user)) (isset($admin_user)) )
if ( isset($_SESSION['admin_user']) )
return true;
else
return false;
}
Steve Jackson wrote:
I am not sure what I have to do in order to control sessions in PHP
$query=Select * from users where userid='.$_POST['userid'].';
;-)
pete
Luis Lebron wrote:
This may be a dumb question but here goes. I have been trying to use $_POST
globals in sql queries.
If I use the following query string it does not work
$query=Select * from users where
on windows you need to comment out the php_pdf.dll (or similar) in
php.ini and reboot apache/iis to enable the pdf extension.
pete
Vijay Killu wrote:
Hello,
I've just came through a function which generates PDF files on fly in a php
script.
On going through the documentation, I came to know
here's the calendar I use
http://dynarch.com/mishoo/calendar/index.html
pete
Vijay Killu wrote:
Dear PHP,
Where can I find the Calendar script that has been used on the PHP.net site.
I believe I can use it on my website since it is open source :-)
Thanks Regards,
___
its $HTTP_SERVER_VARS['REMOTE_ADDR']
or in php4+
$_SERVER['REMOTE_ADDR']
Randall Perry wrote:
Want to grab the client IP after client agrees to a contract, but am getting
no value from the $HTTP_SERVER_VARS[HTTP_PC_REMOTE_ADDR] var.
Anyone know why this might happen?
--
PHP General Mailing List
why use a cookie - the $_SESSION is itself a cookie
I'd code it like
php
session_start()
if (!isset($_SESSION['cart_id']))
{
// code to get cart_id
$_SESSION['cart_id'] = $cart_id;
}
include(db)
include(products)
Tore E. Mackay wrote:
Don't realy know.
Here is what I have:
1.
print_r($_SERVER);
pete
K. Praveen Kumar wrote:
Dear All,
How can I get the Server Information which operating system the
server is running? Using PHP. please let me know
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
web client
http://www.phpmyadmin.net/home_page/
;-)
Joffrey L Leevy wrote:
Hi:
Going thru some teething problems. Does anyone have a simple PHP program
that will enable mysql queries to be executed and displayed using internet
explorer or another medium?
thanks
--
PHP General Mailing List
unfortunately Constants are scalar only, arrays not allowed
below is from the manual
---
Constants do not have a dollar sign ($) before them;
Constants may only be defined using the define() function, not by simple
assignment;
Constants may be defined
Got a bit of a peculiar problem.
I'm recovering a hard disk which has got corrupted (work for a data
recovery business).
I've got a whole stack of text files which I need to clean up to try and
get back some of the text information
here's an example snippet
Linux
;-
Craig Lonsbury wrote:
are you using windows or *nix?
There is a good dictionary (I think it is called dict)
built into most *nix distros,and have yet to find a
good dictionary for windows.
maybe someone else knows a good one =)
Craig
-Original Message-
From: pete M
http://www.zend.com/zend/art/parsing.php
http://www.zend.com/zend/tut/tutbarlach.php
in fact a google search for php,xml, expat, tutorial
pete
Victor spång arthursson wrote:
Hi!
I've been looking at the XML-parserfunctions in the manual, and they
seems nice enough.
But I'm currently in a
$price = number_format( (int) $price, 2, '.', '');
Ed Curtis wrote:
I'm using an example straight from the manual on the php site that
doesn't seem to work.
$price = 1234.567890;
$price = number_format($price, 2, '.', '');
echo $price;
Returns 1234.567890
Should return 1234.57 correct?
I'm doing a bit of data recovery using php as the scripting language..
Is there a way to determine is a file is binary or text ?
all the files are recovered but the file names do not have extensions !
eg chkdsk.exe would be dgfhgj5767363874 as a file name
pete
--
PHP General Mailing List
from the manual
?php
echo 'pre';
// Outputs all the result of shellcommand ls, and returns
// the last output line into $last_line. Stores the return value
// of the shell command in $retval.
$last_line = system('ls', $retval);
// Printing additional info
echo '
/pre
hrLast line of the output:
This posting has made me think..
Problem is server side because the script executes to create the image
and the script runs every time..
Try writing out the image to a file and then send that to the browser
psuedo code
if image NOT exists
create it
write to file
embed file
pete
Ilja Polivanov
echo input type='text' name='reportnum' size='20' value='$reportnum';
Rique Gresham wrote:
Hi All,
I'm having trouble with a input box disappearing when using php to
generate the input box. I tested this script in a test.htm and worked fine.
Does it have something to do with the script being
psuedo code
index.php
php
code to process form
if(no_errors) redirect to another page
?
form action=index.php method=post
input type='text' name='user_name' value='?php echo
$_POST['user_name']?
submit
/form
YOur submitting the form to itself so the $_POST variable is available
in the form
also check magic_quotes_runtime in php.ini.
This add's slashes to incoming Post/get variables
You can change this at tun time with the ini_set() function
pete
Steve Buehler wrote:
I am using PHP/MySQL and am having a problem. We have some names and
addresses in the database that have single
things to check..
check the register_globals flag in php.ini - you can also set this using
ini_set()
Check the short_open_tags are either on/off - again this chan be changes
in ini_set()
pete
News.Comcast.Giganews.Com wrote:
I am an experienced web developer who is just getting into php. I
Tim Winters wrote:
select EyeColor, count(eyeColor) from males
group by eyecolor
;-)
Hello,
Sorry for the probably newbie question.
Is there a way to show the number of records in a recordset based on a
specific criteria?
For example, if I create a record set of all male employees
Why not save the file as index.php
Michael Seely wrote:
HI -- I just broke something simple and I'm stuck.
I've been using index.php3 as the start file in each directory for a
long time. I just set up a new site using php4 and the index.php4 pages
are not displayed as the default page for the
tikiwiki.org
me love it
Pete
Dennis Gearon wrote:
I need a wiki, VERY simple. BUT OTOH, it'd be nice if it had the ability
to display, or attache a picture to a topic.
Any good stuff known to exist?
MySQL background.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
strip_tags() function
;-)
D. Jame wrote:
HI,
Is ther any way to remove HTML tags from Source File with PHP
jame
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How do I set the session timeout - eg someone leaves a broweser for say
half an hour then have to log in again..
As I'm on an intranet I want to increase ro 3 hours
Pete
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If the files are included then one of the catch me's is when theres a
space before or after the ?php ? tags
pete
Mark Roberts wrote:
Could someone help me out with this. I had this problem about a year ago
with another site and I can't for the life of me remember what I had to do
to fix it. I
definately take a look at smarty.php.net
Might take a day or so to get used to the concept bit it makes maintaing
and creating large sites (and small) a doddle.
Main thing is that it seperated php code from html
can't imagine not using it on any site anymore..
pete
Adam wrote:
All,
I'm not
I use PEAR db
http://pear.php.net/manual/en/package.database.php
http://pear.php.net/manual/en/package.database.db.intro-dsn.php
this is included with the php distibution and makes swapping databases a
doddle
pete
Fernando Melo wrote:
Hi everyone,
What is the quickest and easiest way to enable
its probably because its possible to authenticate with an url ?
eg
http://name:[EMAIL PROTECTED]
Chandu Nannapaneni wrote:
hello all ,
I'm able to get successfully http authenticated from my php scripts
Ex :
$header = POST /myscript.php HTTP/1.0\r\nAuthorization: Basic ;
$header .=
need to issue a
session_start()
at top of page
Pete
Jas wrote:
Not sure why this is happening but I think it has something to do with
an include statement...
[Server environment]
Apache/2.0.47 (Unix) DAV/2 PHP/4.3.3
register_globalsOnOn
report_memleaksOnOn
safe_modeOff
psuedo code
session_start()
if (incoming POST and $_SESSION['in_database'] != 1)
{
insert to DB
$_SESSION['in_database'] = 1
}
pete
J J wrote:
What is the simplest way to avoid duplicate order
entry on a form? Some people aren't patient enough to
wait for the SSL/credit card
array_reverse()
Vincent M. wrote:
Hello,
I have an array like that:
$return[0][photo] = monuments_01.jpg
$return[1][photo] = monuments_00.jpg
$return[2][photo] = monuments_03.jpg
$return[3][photo] = monuments_02.jpg
$return[4][photo] = monuments_04.jpg
If I use the sort
Jake McHenry wrote:
Is this possible? I've been messing with this for about an hour now,
searching on google for about half hour. Here is what I want to do:
foreach ($array as $key = $value)
{
$value = explode(|, $value);
$counter = 0;
if ($value[7] == Yes)
{
$counter++;
Even the pros systems crash sometimes
http://www.php.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On way to do it would be to create a table called flags and update the
value in that
psuedo code
update flags set locked =1
get value to calculate
otheruesrs would check the page
select locked from flags
if NOT locked then do query
on the update page
update table set calculation = result
update
Another idea would ne to use an application variable..
This is like a Session variable but is site wide
http://0x00.org/php/phpApplication/
regards
Pete
Tony Crockford wrote:
Hi
bit confused!
here's what I want to do:
get a numeric value from a MySQL table, do a calculation, then on
UPDATE tblfoo SET value= (value+1) WHERE conditions
Tony Crockford wrote:
On Tue, 25 Nov 2003 07:15:10 -0600, Jay Blanchard
[EMAIL PROTECTED] wrote:
[snip]
is there a way I can get a number and increment it all in one query
then?
[/snip]
UPDATE tblFoo SET value = (value+1) WHERE conditions
thsi si a nighmare area. and loast days on same problem
This works for me.. hope it does for you
$file = $_GET['file'];
$path = '/www/cgi-bin/docu/personal/'.$file;
//force download dialog
header(Content-type: application/octet-stream\n);
header(Content-disposition:
What Preg_replace code would I need to highlight all the code within the
script /script tags in red.. (case insensitive)
What I want is a view_source.php page to highlight the javascript for a
tutorial I'm writing. Can view the source ok but need to highlight the
code.
Not a regular
I have written and applicaiton in VB (yuck but that's what the client
wants) and part of the application involves importing and processing
text files.
For that I turned to php;-) for all its processing power as a shell script.
Now here is the daft question.
How would I go about embedding the
?php echo $_SERVER['REMOTE_ADDR']; ?
Mba wrote:
How could I use this php code,
?php print($REMOTE_ADDR); ?
in order to show the ip in a web page?
thanks
-
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
--
PHP General Mailing List (http://www.php.net/)
For the exe part, check this list or
the internet for [PHP commandline].
Didn't think calling that from VB -
ta - problem solved
Pete
Chris Hayes wrote:
At 15:27 3-12-03, you wrote:
I have written and applicaiton in VB (yuck but that's what the client
wants) and part of the application
could someone explain what this bit of code does please...
if (!preg_match(/^.$thumbname./,$item))
{
}
tia
PEte
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
have you looked at to_days() and to_years() in the mysql manual
Dvdmandt wrote:
How would I get the age of someone if I store the birthdate in a date field?
I just realized FLOOR((UNIX_TIMESTAMP(NOW()) -
UNIX_TIMESTAMP(birthdate))/60/60/24/365.25) wont work for persons born
before 1970... :p I
Have u looked at sudo and sudoers
http://www.courtesan.com/sudo/
http://www.courtesan.com/sudo/man/sudoers.html
regards
pete
Mat Harris wrote:
Hi,
I am building a web interface to the vacation autoresponder program on linux.
I let users login, edit their message and enable the autoresponder.
go and check out www.hotscripts.com - there's load of ecomerecce scripts
there.
regards
Pete
Pehepe Php wrote:
Hello. How can i build e-commerce site with php. Do you know any
source,documentation,e-book.
Please help me.
if you use msn messenger, please add me your contact list.
messenger :
Just add order by to the sql query instead eg
SELECT id, name, surname, address FROM addresses order by name asc;
or descending on surname
eg
SELECT id, name, surname, address FROM addresses order by surname desc;
hope this helps
Pete
Bart Koppe wrote:
Hi all,
I'm quite a newbie ot php/mysql,
What you trying to achieve...
Decapode Azur wrote:
hello,
Is it possible to make php scripts working like deamons
and build something like a server?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
check out the mssql.max_links setting in php.ini
There's a dew other settings in there 200
pete
Diana Castillo wrote:
Is there any way to limit the connections so that this error never happens?
Warning: mysql_connect(): Too many connections at
/home/local/global/php/libraries/dblayer_mysql.php
I personally abandoned using any com object a few months ago as
maintaining and identifying similar problems took mmore time that
writing effective code to make the system steady...
C C wrote:
Hi,
I am running PHP 4.3.4 on Windows 2000 server with
Apache 2.0.48. I am using COM objects in some
Think this is what u want
Imran Asghar wrote:
Hi,
Is not working, is it correct way
File1.php
? $colors = array('red','blue','green','yellow'); ?
form action=file2.php method=post
input type=hidden type name=colors value=?=$colors?
/fomr
?php $colors =
Im trying to scan a file and lift the image name from the img tag
ie
img src=THISBIT.ext
where there could be ' or
I messed around but am 2 embarassed to post code cos it dont work ;-(
thanks in advance
pete
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Getting completely confused how this stuff works !!!
Anyone recommend a book for a regex newbie ?
pete
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Which EntireX
pete
onrad Strydom wrote:
Hi there guys,
We have a PHP application on a remote linux machine that needs to
interoperate with a COM based interface on a windows machine.
If both where on the same win32 machine things would have been easy ,
but unfortunately they aren't.
What
Wicked - that's the best tip I've seen for a long time... TA
Gareth Williams wrote:
Well if you are a unix/linux/os x user, drop to the command line, go to
the directory with all the php files, and type in:
grep function_name php
or if your php files are scattered around a load of
Does this mean the end of the script termination does NOT need to be
sent back to the browser ?
This smacks of something I needed recentyle with sending reports
The way I got around it was to
Create a flatfile database table with the job entries in it
Create a crontab that executed and cheked
Am trying to do a strange thing with php..
Extract the urls from the Internet Explorer index.dat history files
(dont ask why!)
Here is a snippet
ð:2002020720020208:[EMAIL PROTECTED]://www.lyricsworld.com/cgi-bin/search.cgi?q=Bruce
+Springsteenm=phraseps=20o=0wm=wrdul=wf=1ðððð
it
Brian Dunning wrote:
This inserts nothing into the database, but returns no error that I can
see. How come? What's wrong with it?
$dbname = my_database;
$dbconnection = mysql_connect(mysql05.powweb.com,my_user,my_pass);
mysql_select_db($dbname, $dbconnection);
$query = INSERT INTO invoices
1 - 100 of 134 matches
Mail list logo