Hi Tim,
I did something similar recently but I had a bit more info stored than
just an e-mail address, so I set-up a search system for the client
whereby he could e-mail all of the people in the search result set.
Just a thought that might give you some ideas for your situation.
HTH
Ade
=pbigfont color=\purple\Print this out
then./font/big/p.\n;
echo($TestPrint);
?
/body
/html
Is there something I've missed in the script. Or perhaps Apache 2 is the
problem?
Thanks
Regards
Adrian Greeman
Telephone +44 20 8672 9661
Mobile +44 780 329 7447
E-mail adresses
[EMAIL PROTECTED
Thank you very much - you are very observant and have just taught me a good
lesson about checking minor errors even outside the obvious PHP code. It
works now except for the
unlink as you said.
Regards
Adrian Greeman
Original Message -
From: Kevin Stone [EMAIL PROTECTED]
To: Adrian
server admin.
tia,
adrian
Hi,
I'm kinda new to PHP and have the following problem: In a function, I want
to verify whether a
file exists before I go on, and if it doesn´t, return false and stop right
there. So I tried
if(!file_exists($my_file)) {
return false;
exit;
}
But since $my_file is a URL, it doesn´t work. Does
to supprt .php files?
(i get a better response from them if i tell them exactly what to do ;-) )
tia
adrian
, take a look at XML. Besides, once you
CAN exchange your stuff with others, you might come across new ideas to
improve your whole site!
Regards,
Adrian Slusarczyk
Simon Taylor [EMAIL PROTECTED] schrieb im Newsbeitrag
414B25821CCAD61181A90048543C810C03EDB4@EMAILSERVER"
table, something like tableID. What I want is to press on the
id from a row in upperframe table and to display in lowerframe the tableID. How can I
do that?
Thanks a lot,
Adrian
table, something like tableID. What I want is to press on the
id from a row in upperframe table and to display in lowerframe the tableID. How can I
do that?
Thanks a lot,
Adrian
Hello,
1.How many tables can be created inside a database? There is a maximum number?
2.Is it possible to erase a table?
Thanks,
Adrian
Hello,
Can I call a php function using forms in the same way as I do for a javascript
function? (in the same page, not with php_self).
?php
function()
{...
}
?
form method=post action=function()
.
/form
Thanks, Adrian
, Adrian
Hi there
Wondering if someone could help or give some advice.
We have a mysql database that has approximately 20,000 records and has a
total size of 125mb There are approximately 25 fields that we need to
search each time that someone performs a search. We have installed
TurckMMCache onto the
Is it possible to pipe email directly to PHP like it's possible to do
with perl? I need to do this using Exim which I'm also unfamiliar with
so if anyone has done this I'd appreciate knowing how! :)
Thanks
Ade
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi there
I have been reading about certain php scripts that, if used incorrectly,
can compromise servers. There are certain open source scripts that I
know if (no names mentioned) that have exploits that allow this and I
want to know if there is a How to or best practice anywhere for
securing PHP
That's not strictly true. Open source projects do sometimes die if
nobody steps up to bat when the original developer decides not to
continue it - SourceForge has many projects like this. In this
particular instance mmCache is not dead (yet). The original developer
has moved to work with Zend and
Hi Adrian
I looked at the discussion goin on located at sourceforge.
But then i m still not able to make up my mind whether to use
it or not in my production server. What do u suggest? Is
there any problem with the current version of MMcache? Please
suggest me.
Thanks
Binay
Here are some for you to try:
www.sourceguardian.com
www.zend.com
www.ioncube.com
There is also one within mmCache
(http://turck-mmcache.sourceforge.net/). Just read the forum about the
current status of this open source project as the founder has gone to
work for Zend and will no longer be
Chris, quite a few people sell their scripts online or they may wish to
install legacy code that they have sweated over for years onto a clients
machine - encoding them helps for piece of mind :)
Ade
I'm sorry I can't help you but I am curious as to what the
point of this
is. If you are
There are various:
www.sourceguardian.com
www.zend.com
www.ioncube.com
The turck-mmcache one is good too and it also comes with (or the main
purpose is) an accelerator
Ade
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Wow, thanks for the help guys. Appreciate it.
Here's 2 other Q that popped into my head while researching...
1. I looked at Yahoo! and bCentral, they both charge monthly
fees for using their E-Commerce Tools. Why? I thought it
should be a one time thing? Or are they not providing code,
Hi,
I'm Adrian and I have the following problem:
I have to encrypt a text file. For that I use a PGP DOS version (PGP 2.6 ui -
Unofficial International, because I'm outside of the US).
I installed the PGP and it is working fine when starting it from a Dos command line:
c:\PGP -e test_1.txt
Has anybody had the PHP logo in phpinfo() appear with a picture of a dog?
--
Adrian Madrid
http://www.hyperxmedia.com
HyperX Media
45 West 9000 South, Unit 2
Sandy, UT 84020
Office: 801.566.0670
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Matt Matijevich wrote:
snip
Has anybody had the PHP logo in phpinfo() appear with a picture of a
dog?
/snip
April Fools easter egg
Man, I thought I was getting my server compromised Man, you start
coding and 8 hours later you can't take a joke! LOL
Thanks,
--
Adrian Madrid
http
)?
Thanks in advance,
--
Adrian Madrid
http://www.hyperxmedia.com
HyperX Media
45 West 9000 South, Unit 2
Sandy, UT 84020
Office: 801.566.0670
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
--
Adrian Madrid
http://www.hyperxmedia.com
HyperX Media
45 West 9000 South, Unit 2
Sandy, UT 84020
Office: 801.566.0670
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
,
--
Adrian Madrid
http://www.hyperxmedia.com
HyperX Media
45 West 9000 South, Unit 2
Sandy, UT 84020
Office: 801.566.0670
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
border=1' . \n;
echo 'tr' . \n;
while ($myrow = mysql_fetch_array($sql)){
echo 'td' . $myrow[0]. /td\n;
if ($i % 5 == 0){
echo /tr\ntr;
}
$i++;
}
$odd = ($i - 1) % 5;
if ($odd){
echo 'td colspan='.$odd.'nbsp;/td' . \n;
}
echo '/tr' . \n;
echo '/table' . \n;
adrian
' . \n;
echo '/table' . \n;
adrian
sorry the $odd bit at the end aint right but you get the idea.
adrian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there
we need to run php under another user account as we are setting up a
link with it to Qmail. Our plan is to use:
php-cgi+suexec for this. fastcgi may be an alternative and we are just
wondering if there is anything bad about using fastcgi for this?
Any help appreciated
Thanks
Ade
--
Hi there
we need to run php under another user account as we are setting up a
link with it to Qmail. Our plan is to use:
php-cgi+suexec for this. fastcgi may be an alternative and we are just
php-cgi+wondering if there is anything bad about using fastcgi for this?
Any help appreciated
Thanks
Check out:
Zend encoder www.zend.com
SourceGuardian www.sourceguardian.com
IonCube www.ioncube.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and PHP5 on a production environment succesfully yet?
Thanks in advance,
--
Adrian Madrid
HyperX Inc.
Mobile: 801.815.1870
Office: 801.566.0670
[EMAIL PROTECTED]
www.hyperxmedia.com
9000 S. 45 W.
Sandy, UT 84070
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
I have used Turck MMCache in the past to store results in shared memory
with an specific TTL. Also you could use Cache_Lite in PEAR.
Hope it helps,
Adrian Madrid
Jed R. Brubaker wrote:
I am thinking like JavaBeans. Here is what I have going on:
I have a series of rather database intensive
in advance,
--
Adrian Madrid
HyperX Inc.
Mobile: 801.815.1870
Office: 801.566.0670
[EMAIL PROTECTED]
www.hyperxmedia.com
9000 S. 45 W.
Sandy, UT 84070
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sessions (Turck's would give you segfaults). About new developments
there's been a lot of talk in the forums but so far only one person
mentioned having done changes int he code. The original developers have
not answered the call so far so we would have to hope for somebody else
to step up.
--
Adrian
.
Adrian Madrid
Klaus Reimer wrote:
Adrian Madrid wrote:
I've been running Turck for some time now on PHP5 and haven't had
segfault problems yet. I must say I'm running the latest CVS and using
file sessions (Turck's would give you segfaults).
I also tried latest CVS and I don't use Turcks cache
to the
appropriate mirror web site.
HTH
Adrian Portsmouth
.htaccess Manager - SilkPHP
[e] [EMAIL PROTECTED]
[w] www.htaccessmanager.com
This email, its contents and attachments are confidential and may
.
Adrian Portsmouth
.htaccess Manager - SilkPHP
[e] [EMAIL PROTECTED]
[w] www.htaccessmanager.com
This email, its contents and attachments are confidential and may be covered
by legal privilege. This email contains information intended only for the
person(s
Adrian Portsmouth
.htaccess Manager - SilkPHP
[e] [EMAIL PROTECTED]
[w] www.htaccessmanager.com
This email, its contents and attachments are confidential and may be covered
by legal privilege. This email contains information
I'm thinking about evaluating the Roadsend Compiler and wanted to know
how people that are using it feel about it.
Thanks,
--
Adrian Madrid
HyperX Inc.
Mobile: 801.815.1870
Office: 801.566.0670
[EMAIL PROTECTED]
www.hyperxmedia.com
9000 S. 45 W.
Sandy, UT 84070
--
PHP General Mailing List
can i keep browsing while dowloading?
Thanks
Adrian Zaharia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
,
Adrian
M. Sokolewicz wrote:
Adrian Zaharia wrote:
Hello,
I have this problem and maybe smbdy can give me a hint.
I have a script which has to pack some server files into a tar created on
the fly and then output this archive to the browser via headers.
All is grea, the download
in fact waiting for the session file to be unlocked.
Anmyway, ... interesting problem :)
Adrian Zaharia
M. Sokolewicz wrote:
Adrian Zaharia wrote:
Hello,
I have this problem and maybe smbdy can give me a hint.
I have a script which has to pack some server files into a tar created
Hi,
Check the main thread, i have found the problem if you're interested...
Adrian Zaharia
Trevor Gryffyn wrote:
Yeah, this isn't a PHP specific problem, BUT, in the off chance that PHP
could solve the problem (using a different method of sending to the
browser, etc) then it becomes PHP
, pure speed. I hope all this helps you. I
personally don't need extra processes and stuff like that but if you
really want all that you can take a look at phpbeans.
Hope it helps,
Adrian Madrid
eAccelerator: http://eaccelerator.sourceforge.net/Home
phpbeans: http://www.simian.ca/index/phpbeans
I've done some benchmaring and it is quite fast, specially compared to
talking to the DB. Also, phpbeans provides a daemon that can give you
the solution you are looking for, I believe.
Adrian
Rasmus Lerdorf wrote:
Adrian Madrid wrote:
I think I understand where you're coming from. I've had
in PHP 5. I'm running it and it's
been good to me. Although I recommend taking the optimizer off. Anyway,
hope it helped.
Adrian Madrid
William Lovaton wrote:
El jue, 06-01-2005 a las 10:26 -0700, Adrian Madrid escribió:
I think I understand where you're coming from. I've had a similar
problem
scripts that validate against NTLM but I have not been able
to find a script that would actually validate the browser/session
against a NT server. Help!
--
Adrian Madrid
HyperX Inc.
Mobile: 801.815.1870
Office: 801.566.0670
[EMAIL PROTECTED]
www.hyperxmedia.com
9000 S. 45 W.
Sandy, UT 84070
I hate to put a url in but there are some choice words in the extract.
You may have come accross it before but if you are a sys admin u should read this.
It's funny unless u know the guy i suppose.hell it's just funny!
Its a reply email after the guy was given some helpful advice on installing
Hi there
Bit of a long one. Sorry about that :)
Basically we have been contracted to develop an information portal which
will also include free web-based email and a free sitebuilder tool,
running standalone independent php-driven websites for this particular
vertical market. My concern is that
Is there any
way to test a condition other than true/false with flexy? I mean,
how/can you test $x == 'hello' in flexy? Sorry about my ignorance, just
trying to learn Flexy. BTW, are there any other resources besides the
PEAR manuals?
Thanks in advance,
--
Adrian Madrid
http
Hi there
On one site we have a 1.4 second delay before a page loads. We've added
mod_gzip and mmCache to the server. Mod_gzip has definitely helped with
the speed of page loading, but this 1.4 second delay is still there.
The browser hits the page, then there is a delay on 1.4 seconds before
Hi there
On one site we have a 1.4 second delay before a page loads. We've added
mod_gzip and mmCache to the server. Mod_gzip has definitely helped with
the speed of page loading, but this 1.4 second delay is still there.
The browser hits the page, then there is a delay on 1.4 seconds before
Hi there
We have a text file that is 2.2gb in size that we are trying to parse
using PHP to put the content into a mysql database. This file contains
40 million individual lines of data. Basically PHP isn't parsing it.
Any suggestions of how we could do this?
Thanks
Ade
--
PHP General
Hi everyone.
Thanks for advice so far. Going to try that split command (looks
useful). IN the meantime, here is the code:
?php
include config.php;
// open database
if (!mysql_connect($config['db']['host'], $config['db']['user'],
$config['db']['password'])) {
die ('Can\' connect to DB!');
Hi there
I have been given the task of integrating a search into a database we
have which contains 40 million records and I would really do with some
advice! Thanks to everyone the other day who helped us parse this same
database into mysql.
Basically the database consists of only 1 field that
Thanks for this. Will look into those :)
Appreciate the help
Ade
Two things come to mind:
1) INDEX! And, since you're on MySQL, do a fulltext index of
the column
you're searching on.
2) Read up on the MATCH () ON () syntax in the MySQL documentation.
--
PHP General Mailing List
Hello,
I have php 5.1.6 ,the latest available with yum and i wanted to upgrade to 5.2.1
I have downloade 5.2.1 run ./configure,make and the checkinstall. When i wanted
to install the newly created rpm i got the following errors:
# rpm -ivh php-5.2.1-1.i386.rpm
Preparing...
Hello everyone,
I've sent a bug report earlier and it got marked as bogus, so I
decided to ask here about a possible solution. You can see the bug
report at http://bugs.php.net/bug.php?id=40864
Thanks in advance,
Adrian.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
be wrong.
On 3/21/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Tue, March 20, 2007 8:27 am, Adrian Gheorghe wrote:
I've sent a bug report earlier and it got marked as bogus, so I
decided to ask here about a possible solution. You can see the bug
report at http://bugs.php.net/bug.php?id=40864
Looks
I have an issue that occurs randomly on a machine. After a number of reloads
of the page i can't read $this-_foo although it is set (var_dump shows it
but the script cannot read it). The code works locally and on other machines
i tested. Apache restart seems to fix it but only temporary.
: Wednesday, March 14, 2012 1:42 AM
To: Adrian Basalic
Cc: php-general@lists.php.net
Subject: Re: [PHP] Randomly unable to read set variable from class
Sorry wasn't able to reproduce it on my test machine.
Do you have any external modules loaded such as APC, memcached, xDebug maybe
or other
Hello folks.
An inherited and unimplemented method of a class in PHP-5.2.5 gets called twice:
class Foo {
public function foo() {
echo get_class($this);//or __CLASS__;
}
}
class Bar extends Foo {
}
$f = new Bar;
$f-foo();
Shouldn't it be only once? If I'm doing
On Tue, Apr 29, 2008 at 4:29 PM, Stut [EMAIL PROTECTED] wrote:
On 29 Apr 2008, at 15:19, Aspra Flavius Adrian wrote:
Hello folks.
An inherited and unimplemented method of a class in PHP-5.2.5 gets called
twice:
class Foo {
public function foo() {
echo
= get_class($object1);
$method = new ReflectionMethod($class1, 'do_static');
$method-invoke(null);
// First, I thinks do that
// $class1 = get_class($object1);
// $class1::do_static;
// But, I recieve an error
}
$object1 = new Class1;
use_static($object1);
?
gretings
Adrian
You can find the IP and find with it the name.
On 25/08/05, Chris Shiflett [EMAIL PROTECTED] wrote:
Gustav Wiberg wrote:
Is it possible to retrieve (view) the computers name from the client in
PHP?
If you mean the client, then no - this is not a standard part of an HTTP
request.
Chris
Can I give visibility to a class constan.
some thing like this
class foo
{
}
--
***
Si se encuentra bien, no se preocupe. Se le pasará.
Can I give visibility to a class constant.
something like this
class foo
{
private const = aaa;
protected const = bbb;
public const = ccc;
}
I dont want the user of my class can access to the constant.
and I cant use public static fields because I dont want the content can be
modified
I'm a bit useless at regular expressions so i thought i ask.
i need to turn all
[link url=http://www.site.com] link to site [/link]
in a string into html
a href= ...etc
and back again.
thanks
adrian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
exact ,where some weeks are in 2 separate
months,
the earlier month should be displayed.and this is just for 2003.
thanks,
adrian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
try imagecreatetruecolor() instead of imagecreate()
- Original Message -
From: Philipp [EMAIL PROTECTED]
To: Jean-François Marseaut [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, January 27, 2003 4:21 PM
Subject: Re: [PHP] question about GD and colors
Hi experienced the same
hmm.. it'll get real ugly with javascript,but this works with newer
browsers.
...iframe has a name
...main page has a hidden form field with id checkbox in the iframe has id
also
iframe.php
html
head
script
function submit_form(){
if(frames[myiframe].document.getElementById(one).checked ==
a real simple thing i do is to increment the counter
then use header() to redirect to same page with a variable added.
so at the top of details.php i put..
if(!$_GET['no_count']){
...increment counter
header(location:...details.php?no_count=on);
exit;
}
of course people can always just manually
a trick i use is with the time() function
e.g.
$var = time();
then
header('location: .page.php?var=' .$var);
This forces the browser to retrive the page again from the server.
might be of some use.
adrian.
- Original Message -
From: Daniel Joyce [EMAIL PROTECTED]
To: [EMAIL PROTECTED
try changing headers sent e.g
header(Content-type: application/octet-stream);
header(Content-Disposition: attachment; filename=001_SM77GR.jpg);
$im = imagecreatefromjpeg(001_SM77GR.jpg);
imagejpeg($im,'',85);
imagedestroy($im);
- Original Message -
From: Doug Coning [EMAIL PROTECTED]
thanx,
adrian murphy
Sorry forgot to say we do have a secure server.
- Original Message -
From: adrian [EMAIL PROTECTED] [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 04, 2002 4:37 PM
Subject: [PHP] storing cc details in mysql
Hi,
I know this is an old chestnut and i am going thru archives
().
http://217.114.163.70/info.php
tia
adrian murphy
- Original Message -
From: Oliver Fänger [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, November 18, 2002 3:42 PM
Subject: [PHP] Re: SQLCODE=-930
could somebody tell me why libphp4.so (php-4.2.3
of the configure command 'enable-gd-native-ttf'
whereas after a bit of googling i've seen it in other places
as 'enable-gd-native-tt' i.e without the 'f' at the end - so
which is right?
if this is a dumb question please excuse my ignorance.
adrian
hi
i'm having problems resizing jpegs.
here's an e.g. using manual example.
code used :
?
$new_w=395;
$new_h=297;
header(Content-type: image/jpeg);
$dst_img=ImageCreate($new_w,$new_h);
$src_img=ImageCreateFromJpeg($name);
( 2.x) you can't
manipulate jpegs? gd is my only option.
adrian
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 25, 2002 6:26 PM
Subject: Re: [PHP] imagecopyresized
On Tuesday 26 November 2002 02:10, [EMAIL PROTECTED] wrote:
hi
i'm
nice but too hard to modify to your needs. Are there any
recomendations on SP that you actually use in medium to large projects
and you were happily surprised?
Thanks in advance,
--
-
Adrian Esteban Madrid
HyperXMedia, Developer
--
PHP General Mailing
--
-
Adrian Esteban Madrid
HyperXMedia, Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
21 ) but
it seems as though even this dies when the browser times out. Thanks!
-Adrian
Hey all-
Something strange is happening with a python script I am executing
from a php page:
I am executing this by doing $output = `python blahblah.py arg1 arg2
arg3`
Say my Python code looks like this:
import sys
import os
thisPID = os.getpid()
print thisPID
print 1
RADeg =
301 - 386 of 386 matches
Mail list logo