I have written an online event registration system and I am curious to
know if there is anyone out there who could either take my code and
optimize it for me or basically help me learn how to optimize my code
off-list. I am a php nub and I know there are probably all kinds of bugs
and duplications
Calling someone a twat is not going to persuade anybody to change
how you think a proper reply should be.
If I dont understand someone's question, should I not let them know
that if that make themselves a little clearer a better answer may
be given instead of 12 people shooting in the dark
[EMAIL PROTECTED] wrote:
oh right sure thats easy done , i assumed u meant the variable itself
document.formname.fieldname.value=somevar;
Well, ASP can't do any more in that area than PHP can, nor should it be
able to.
--
The above message is encrypted with double rot13 encoding. Any
no, I dont know how to do this, but I would like to know how. basically its
a php script running on the server side. it is actually a parser script
pulling info off of a seperate site. i need to make it so the other site its
pulling info from see's it as Internet Explorer and not what it is shown
Do you need to use .*?? If there will be only white characters, use
\s* instead.
skate wrote:
$contents = preg_replace( |item.*?.$file..*?/item|si, ,
$contents );
okay, so i figured out that it's matching the first occurence of item
which will always be the first record and then going on to
Hello everybody, i have strange behaviour with sizeof().
mysql_fetch_array () return for me empty array, when i count this array by
sizeof() it return 1, serialized array is look like this: b:0; check it:
?php print sizeof ( unserialize ( b:0; ) ); ? it will print 1 .. why ?
what is b:0 ? why
What are these un/pwds for? guess these were not meant to be posted to
mailing list
Kevin Stone wrote:
domain: asiostudios.com
host: Helpelf
ftp_un: asio
ftp_pw: uZGG7ai
registrar: Godaddy
reg_un: 1398706
reg_pw: iktomi
reg-account email: [EMAIL PROTECTED]
email1: [EMAIL PROTECTED]
un:
Hey ..
I am having a problem when i try to pull an image that has been stored in
MS SQL Server from displaying properly. I know, its a waste of space to
store the actual image in SQL, but this is the way it needs to be done to
be compatible with some of the other systems. Anyway, if you have
Point taken and thanks for responding. I am using the computer to test the
script which I will then upload to a hosting service. I am connected behind
a router which assigns the IP for the computer also the cable company
changes the IP for the cable modem now and again so I feel quite safe.
In
On Aug 9, 2003, Ryan A claimed that:
|Hi,
|I am running a pretty simple statement (thanks to ben from the list) that i
|have already checked via phpmyadmin, but i dont know how to display it
|
|eg:
|
|$tt = SELECT COUNT(*), 'Count1' FROM shared WHERE user ='.$my_user.' and
|cno=.$mmy_cno.
Hello all,
I've been doing PHP for a little while now... I am starting learn Action
Script now... and having trouble with global variables and functions...
does anyone know where I find a good list or forum for action script?
Joe Harman
http://www.HarmanMedia.com
I used to think I was
Jacob,
Yes I've used imagemagick with php. I found that none of the online
documentation worked for me. I was unable to use the imagemagick class and
the tutorials seemed to refer to older versions.
That being said, here's some code that does work, maybe you can extrapolate
from it.
Feel free
On Friday, August 8, 2003, at 10:28 AM, Neil Davis wrote:
Fellas,
can't see how this should be an issue.
It is a security issue. Most ISP's don't allow register_globals to be
turned
on. Read the php docs about register_globals. Zeev and company explain
it
better than I can.
I understand the principle of mail. What I want to do is use a textarea as a mailing
list, something like this. How do I loop it?
?php
if (!$message)
{
?
form
textarea name=addresses[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]/textarea
textarea name=messagehi everyone,
how are
Hello,
Can anyone verify / solve the problem I am having with downloading an
image..
The following test works fine in every browser I've tried except in mozilla
for windows. Mozilla appends .php to the file name when prompted to save or
open. In IE, I can save it to disk or open it, and the
[EMAIL PROTECTED] wrote:
yeh i'm saying it would be nice , i didnt say can it, i built an image
uploader progress bar class , it had to use javascript with flash as php
has no way of working out how much a file has uploaded where asp can
Luckily, ASP doesn't work by magic. PHP (thankfully)
http://www.wowwebdesigns.com/wowbb/forum12/149.html
you might also want to take a look at mono project. An open source
implementation of .net
http://www.go-mono.com/
-Original Message-
From: Douglas Douglas [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 10, 2003 7:46 PM
To: [EMAIL
* Thus wrote Ray ([EMAIL PROTECTED]):
so if $a is something like the size of an array or another thing that affects
the number of times the loop needs to be run. then if you can, reverse the
order of the loop so you can compare to 0 (or another constant)
?php
$a = 1000;
$i = $a;
[snip]
the manual is so far away
[/snip]
The manual is right here, http://us3.php.net/fdf. The third major
heading on the page is installation.
Good luck and have a pleasant day!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anyone know of a way to load large groups of files using PHP at one time?
What I'm looking for is a way to select multiple files and then have them
written into a form. I can do it with individual files but not more than 1
file as I can't figure out a way to get the form Browse ability to allow
?php
$year=1999;
$month=march;
echo a
href=\http://www.thingamajigger.com/index.php?year=$yearmonth=$month\;
yeah this is the link/a;
?
-Original Message-
From: John Manko [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 2:47 AM
To: Martin Towell
Cc: 'Jack'; [EMAIL
There is a function called, session_regenerate_id, for php4.3.2 and above.
Right now, it just creates a random id. Is there a way to specify the value
of the regenerated session_id? So I can record the SID before I send out
every time.
I tried,
session_id('id_generated_me');
session_start();
From: Thaddeus J. Quintin [EMAIL PROTECTED]
If the HTML file that they upload has 'lt;' or 'gt;' entities, then
these characters will be displayed in the text area as '' and ''
symbols. So when the text is submitted from the textarea, all of the
user's HTML entities will have been
hi there , i am interested to know more about dbx, especially the error
handling
$link = dbx_connect(DBX_MYSQL, localhost, db, username, password)
or die (Could not connect);
is there such an error feature where it can die to the screen with a custom
error message instead of doing the
Curt Zirzow mailto:[EMAIL PROTECTED]
on Tuesday, August 05, 2003 7:18 PM said:
thats the backtick operator.
http://php.net/manual/en/language.operators.execution.php
Oh... I SEE! Now I get it!
So /that's/ what a backtick is huh? I always ignored that link in the
php manual
Hey Folks:
I'm starting to use PHP 5 on my development machine. The primary XML
parser is changing from expat to libxml. I was curious about the change,
so sought documentation of the new libxml stuff on the PHP site but
haven't been able to find any.
Perhaps someone can steer me toward such
And the error is strange because you're doing
something strange!
I don't think I'm doing anything strange. What I
have exposed here is a simplification of my own
class loader. I have the main class that must
load (include and then instance) other PHP classes.
The problem is that if
27 matches
Mail list logo