On Saturday 13 April 2002 19:24, The_RadiX wrote:
> No it's okay lots' of people post general HTML questions in here..
I hope people don't get the wrong impression. General HTML questions is NOT
what this list is for. This list is called "php-general" for a very good
reason!
--
Jason Won
On Sunday 14 April 2002 04:05, Vins wrote:
> nope i'm not wrong.
> no functin to determine the image ratio
Let's go back to basics. What do you need to know to determine the image size
ratio?
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
*
I dont remember the name of the module offhand, but once upon a time, I
used a perl module that would fork multiple threads so that you could
execute several web queries at the same time. This saved a lot of time,
if, for instance, you had to get information from UPS, FedEx, and the
USPS about sh
No, it's not an issue of what PHP can do, it's an issue about the actual
server, what mail programs they're running, what sort of filtering you can
do on mail, whether you have a CGI version of PHP running, and the fact that
they already may have a solution on the server which doesn't require any
Yeah, this really has nothing to do with PHP.. The Javascript question you
ask can be answered with a simple query at
http://www.google.com/search?hl=en&q=select+onchange
As for the other, can't help.. You should try an HTML group..
Later,
Bob
"Vladislav Kulchitski" <[EMAIL PROTECTED]> wrote in
HI I was wondering if anyone can answer my question :) it's more HTML
related though, but I'll dare to post it here and apologize in advance
if I am going against the rules.
The issues is, if I am using the following code:
25
10
50
100
The problem I am having is that when I get rid of '' it
http://webpipe.net
They seem to be doing good with uptime.. In the last couple months I've been
having a monitoring service check them frequently and so far we're at 100%..
Standard Virtual Package ($24.95/mo - $14.95 setup):
Linux RedHat 7.1
300mb Disk Space
25 POP3 Accounts
10GB/mo transfer
St
Just one thing...
Is there an easier way than having to manually place "global" in each
function...??
Other than passing by parameter?
Like is it possible to actually declare var's in PHP as global?
thx..
:::
Julien Bonastre [T
wow.. 10-15gb.. where do you get that kinda hosting and for how much??
Here in Aus it'd cost you a packet.. Don't know where abouts in the globe
you are though..
Here in AUS my host only gives me 1gb p/m and 50mb space... for AUD$399p/a
that's USD$198... bit of a ripoff I think. but unbelievab
- Original Message -
From: "The_RadiX" <[EMAIL PROTECTED]>
To: "Jennifer Downey" <[EMAIL PROTECTED]>
Sent: Sunday, April 14, 2002 9:47 AM
Subject: [PHP] Re: Closing curly brackets? and BEING IGNORED!
> Happy to hear you fixed your problem...
>
>
> I sent you a reply about how you should
php-general Digest 13 Apr 2002 23:37:19 - Issue 1285
Topics (messages 92862 through 92904):
Re: Closing curly brackets?
92862 by: The_RadiX
92897 by: Jennifer Downey
Re: Php/Mysql
92863 by: David Robley
Re: Cannot enter single quotation marks in fields
9286
hi folks,
i am somewhat like a new newbie, just read my first php tutorial, installed
an apache server on my windows and php on top for testing , first question
is : is this the right place for me here to ask questions or is this
newsgroup rather for advanced users?
second question is my task i w
Hi everyone,
I am wondering if anyone has a good hosting service? I am currently with
Aletia which has an excellant package good tech support but sometimes not
very functional servers.
My site has gone down at least 3 times within the last 20 days. Too many for
me.
It has to be at least 50 mb d
Let me try again:
This line of the script:
if (!stristr($lines[$key], $email)) {
yields the following error:
Warning: Empty delimiter in /home/sites/site56/web.
Do you know what causes this error ?
Thanks
r
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
file.php does more than one jobs depending on
HTTP_GET_VARS. for example if "..?mod=show" or it is
empty it shows things, elseif "..?mod=update" it
updates... so i must send a variable to the included
file but i can't do it in the file that includes it.
The file that includes file.php is a templa
Since you get width & height the ratio is trivial.
mark C.
> -Original Message-
> From: Vins [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 13, 2002 3:02 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] IMAGING WITH PHP
>
>
> There is nothing in there about image ratios
> but let me
nope i'm not wrong.
no functin to determine the image ratio
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Sunday 14 April 2002 02:08, Vins wrote:
> > How would I find out the image size ratio so that I could resize and
image
> > without the image pixelating ?
There is nothing in there about image ratios
but let me double check again.
maybe it was my error and if so... forgive me I'm from South Africa
LOL
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Sunday 14 April 2002 02:08, Vins wrote:
> > How would I find out th
Well as I have seen lot's of people get yelled at if they post in the wrong
list. So rather than letting that happen and risk not getting any help I
thought I would apologize and send it to the right list.
Anyway the file you sent is it in the correct format? I have asked about a
tutorial on prop
You can call for this include inside a function and then Return inside
included file.
Not sure if it's suitable for you, inside functions there are quite a
few extra things to do like Globals etc.
Or, you could fopen(), read the needed lines, assign to a variable and
eval() it. Quite a silly wa
On Sunday 14 April 2002 02:08, Vins wrote:
> How would I find out the image size ratio so that I could resize and image
> without the image pixelating ?
Manual > Image functions
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & H
How would I find out the image size ratio so that I could resize and image
without the image pixelating ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am doing a session_start and am definately not using session_register
(minus , the exact code is in my original email).
phpinfo reports register_globals is off. Is there something else in the
php.ini file I need to turn on to 'enable' $_SESSION?
I tried using the php.ini-recommended and it didn
Ok, if you just want to retrieve values form the file and not PHP code, try
opening it as a file instead of 'including' it. Read the lines you want, use
the values you read in to set variables or branch or whatever. Personally
(because I'm a database bigot) I'd stuff them in a table in a database
1: Globals are bad...m'kay.
You should never use globals. If your function needs a variable, you should
pass it in. There are exceptions to this rule but it's not a good idea to
program normally this way.
2: Is this a form?
It sounds (from the way you word it) that the variables are part of a fo
function someCommand()
{
global $var1, $var2, $var3;
stuff();
}
I think you could also use define(); maybe..
Later,
Bob Weaver
"Paul Roberts" <[EMAIL PROTECTED]> wrote in message
00f301c1e311$fa421af0$dde5883e@laptop1">news:00f301c1e311$fa421af0$dde5883e@laptop1...
Is there a quick way to
it's METHOD=POST already, I'm trying to find out why a Polish address was changed!
Paul Roberts
[EMAIL PROTECTED]
- Original Message -
From: "Cal Evans" <[EMAIL PROTECTED]>
To: "Paul Roberts" <[EMAIL PROTECTED]>; "php" <[EMAIL PROTECTED]>
Sent: Saturday, April 13,
I want to make a module system, that open a module and get the first $numberlines of
it that will be some configuration
variables, the $numberlines will probably be at top of file, at line 1, then I want to
script to get the variables and
execute them in the kernel.php, allowing me to make mod
Is there a quick way to set all variables as global so that they are avalible to a
function, i'm doing an eval inside, so i need all the submitted variables to be
avalible, or do i have to decalre them individualy.
Paul Roberts
[EMAIL PROTECTED]
--
PHP General Maili
I'm totally unfamiliar with php, and making some slight modificiations
to Chris Heilmann's nice v 1.1 Newsleterscript.
What exactly is meant by an empty delimiter? This code works just fine,
but I get the following error:
Warning: Empty delimiter in /home/sites/site56/web/trailcrew.php on line
If you are using METHOD=GET, your browser is probably doing it. Try
METHOD=POST
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Paul Roberts [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 13, 2002 12:14 PM
To: php
Subject:
when i enter sZZsçe in to a form it's changed to sŹZşçę I didn't code
it to change it to html special characters, is php doing this?
Paul Roberts
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Running Apache,linux,php4.1.2 and I can't get $_SESSION to work, creates
the temp file but doesn't actually put anything in it. There appears to
be a bug report saying it is broke but does anyone know what version (if
any) $_SESSION actually works in? I'm trying 4.1.1 also and its doing the
same t
Can I just grab the required info from phpinfo() and post it here?
Ian.
- Original Message -
From: "Justin French" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Saturday, April 13, 2002 4:21 PM
Subject: Re: [PHP] Mailings Lists?
> Contact your ISP, because it depends on your
I guess it would help if you explained what you are trying to do. the
answer to your initial question is no.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Alberto Wagner [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 13,
Contact your ISP, because it depends on your set-up... you basicaly need to
pipe all emails to that address to the CGI version of PHP, and then you can
grab the message and forward it to the entire list.
But your ISP may also have other tools for this... if I send to all@ one of
my domains, it fo
Best hope is to include some if statements into the included file, and
establish what you want to get out of the file, eg:
--file.php--
--
Or perhaps make the few lines you're after a function, then all you have to
do is include your functions library on every page it's needed, and then
call
You can't do a partial include. Put some logic into your include file so
only the appropriate lines are executed. Or if you are not executing
anything but simply reading a file containing data, use fopen()/fgets()
and read past the first 5 lines.
-Rasmus
On Sat, 13 Apr 2002, Alberto Wagner wro
But its exactely what I don't want
13/04/2002 11:11:54, "Cal Evans" <[EMAIL PROTECTED]> wrote:
>Break those lines out into another file...
>=C=
>*
>* Cal Evans
>* Journeyman Programmer
>* Techno-Mage
>* http://www.calevans.com
>*
>
>
>-Original Message-
>From: Alberto Wagner [mailto:[EMA
What happens when you try to enter them? What does the HTML source for your
input field look like?
Is ' being turned into \' ?
Jason
- Original Message -
From: "Denis L. Menezes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 12, 2002 11:05 PM
Subject: [PHP] Cannot ente
www.list.org
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Randum Ian [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 13, 2002 7:44 AM
To: PHP
Subject: [PHP] Mailings Lists?
Hi there,
I want to be able to send an email to '
Break those lines out into another file...
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Alberto Wagner [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 13, 2002 4:33 AM
To: Php General Mailling List
Subject: [PHP] Including
Is there any way to include only the lines that I want in an other PHP file?
something like Include();
like lines number 5,6 and 7.
only this ones and not the entire script?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello List,
I want to use WDDX in PHP but I don't have access to the WDDX module.
Does anyone know if there is WDDX serializer/deserializer written in
PHP?
I've been working on one for about a day now, and it works pretty sweet.
I'm relatively new to PHP and don't trust using it in commercial
proj
Thanks Matt.
Well, I guess the best time to start is now. I'll use $_SESSION -- sounds
like less work. Wish I had used them to begin with . . . but back then, I
only had two pages -- I sort of "forgot" to switch over while coding.
Thanks for your advice,
Regards,
Andre
On Saturday 13 April 2
Hi there,
I want to be able to send an email to '[EMAIL PROTECTED]' and have
it sent to everybody in my 'newsletter' database. Are there any resources
online that would show me how to do this? Ive searched but found nothing so
far.
Regards, Ian.
___
Ian Roke
Webmaster, DancePortal (UK) Limited
Thanks!
This is what i was looking for.
and i'm actually using jsps and java servlets, but i
knew i'd find the solution some where...now i've
discovered what needs to be done to solve the
problem..and i've found a funtion that will convert
the html special characters!
Thanks again!
Heidi
--- Anal
just a quick question
what's the major newsgroup most people use here??
I just wanna know cos my alt.php and alt.php.sql are quite dead and empty...
thx in adv.
:::
Julien Bonastre [The-Spectrum.org CEO]
A.K.A. The_RadiX
[EMAIL PROT
Thanks Matt,
Actually, at this point, I've reverted back to "register_globals=on" until I
figure out what's the best way to do this.
So far, I have no references to "session_register() on any page. In your
opinion, should I go with "$_SESSION" or use the other approach,
$HTTP_SESSION_VARS".
> I've read the manual on "Session handling functions", but I must have a
thick
> block on this concept . What should I do now that I want to use
> $HTTP_SESSION_VARS or $_SESSION ? How do I implement it on secondary
pages?
> Will I be facing a major re-write of all my code? [Gulp :>]
Yes.
1. Yo
At 13.04.2002 03:17, you wrote:
>i have this code for my form mail:
>
>mail ([EMAIL PROTECTED], "$subject", "From: $name\r\nEmail:
>$email\r\nWebsite: $website\r\nMessage: $message", "From: $email\r\n");
>?>
>
>i need to add an attachment file with the variable $file. what do i need
>to add i
In article <000701c1e2a8$d1600ac0$9e75fea9@pcdenis>,
[EMAIL PROTECTED] says...
> Hello friends ,
>
> I cannot enter single quotation marks in fields. Is this a standard feature
> ? Is there a workaround?
>
> I am using mysql + php4 on unix.
>
> Thanks
> Denis
Look at addslashes/stripslashes
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Just a noob php/mysql question... (I suppose)
>
> When I try just putting php code in my insert queries, it goes like this:
>
> insert into mytable values('')
>
> select * from mytable, returns:
> Some string
>
> So the insert-query
No it's okay lots' of people post general HTML questions in here..
I love studying other people's..code style...
You really need to work on your style I think.. No offence but it's quite
hard to read.. I had to painstakingly (thank God it was fairly small script)
space it all
php-general Digest 13 Apr 2002 11:17:33 - Issue 1284
Topics (messages 92821 through 92861):
PHP 4.0.6 and xsl-transformation
92821 by: K. Pihl
how to detect error
92822 by: Charmaine Tian
92843 by: Rasmus Lerdorf
Re: Wanting a better understanding of classes in PHP
To prototype my site, I've used "register_globals=on", and "track_vars=on".
I'm at the point where I would like to switch the globals "off',
and prepare the site for production use.
My problem is that I don't know how to implement the use of
$HTTP_SESSION_VARS or $_SESSION in my webapages (or
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> Hi all,
>
> Now I have a weird problem. I am using this code and can't understand why it
> doesn't work.
> When the script is run it returns a blank page, no error or done.
>
> here it is and any help would be appreciated.
>
> if(($ty
unfortunately, this doesnt seem to work. Rather, it works, but it doesnt
seem to work any differently than an include() (although you can't use
output buffering on it, so in that regard its different). It seems to pass
in all the variables and classes.
My other option, which I have been avoidin
58 matches
Mail list logo