I know it is cross-posting, but I thought I might get an answer here...
TIA,
Mikey
-Original Message-
From: Mikey [mailto:[EMAIL PROTECTED]]
Sent: 09 July 2002 19:51
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] More bzip woes! No file written...
Hi ng!
Well, I have finally
It comes with the zip file of that distribution - and it works fine (except
for TTF which I can't for the life of me get to work on Win32)
frak!
Peter [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Jadiel,
i do that the file ur after and tried sending it to u
than the
maximum value possible for the column?
(Probably irrelevant snippet from mySQL manual:
MAX(expr)
Returns the minimum or maximum value of expr. MIN() and MAX() may take a
string argument; in such cases they return the minimum or maximum string
value.)
regards,
Mikey
I can't seem to get my win2000 box to recognize the .php files. It's coming up with an
error, and just reading them as test.php.txt files in explorer. How do i get this to
work. I believe I've set everything up right. Could someone please email me with
answers. Thanks
Mike
everything works as per the
manual but when I try to run on our production environment (5.0.4) then
things go very, very wrong. In particular there doesn't seem to be a
DOMXPath object.
Failing a list of methods/versions - does anyone know what I can use in
lieu of a DOMXPath object?
TIA,
Mikey
[EMAIL PROTECTED] wrote:
[snip]
its type is not DomNode, but DomText.
Only the 2nd child -
$NODE = $NODE-nextSibling;
has $NODE-tagName channel.
My question is - why is the first child after rss DomText?
Thank you,
Iv
My guess is the whitespace between the nodes :o)
HTH,
Mikey
--
PHP
Mikey wrote:
Hey!
I have been looking through the docs writing test code and am going a
little bit mad trying to work this out.
Does anyone know where I can find a definitive list of DOM XML functions
that are supported in specific versions of PHP?
I write my code in Zend and it has 5.2.0
? Is this done
through PHP or is this a server setting? Thanks in advance!
~Philip
It is a server setting - see ModRewrite for Apache.
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with commenting out sections of XSLT until we get the page back.
Has anyone else encountered this problem (google was reticent) and do
they know of any workarounds/fixes for this?
TIA,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the null in the string - again, no luck.
So my question is whether or not anyone here has a reliable way of
detcting and removing \u chars from strings?
regards,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and parsing a CSV file in your
script? That way your code is more modular and a lot easier to
understand for other developers.
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Shawn McKenzie wrote:
Daniel Brown wrote:
On Sun, Mar 16, 2008 at 4:18 PM, Casey [EMAIL PROTECTED] wrote:
Hi list!
__halt_compiler(). Does anyone use it?
I've used it obsessively in my past two projects to store data
(specifically CSV) in the PHP files. These two projects consisted of
Casey wrote:
On Mon, Mar 17, 2008 at 3:56 AM, Mikey [EMAIL PROTECTED] wrote:
Hi!
I was wondering if anyone here had experienced a simliar problem to mine.
I am updating an Oracle XMLType column with XML built using DOM that is
populated with values from an Excel spreadsheet saved out
the table has a field 'id' then i think
select count(id) from some_table;
-nathan
If you are talking about millions of rows then the fastest way is to put
a trigger on create and delete on the table in question that updates a
single column in another table that is a counter.
HTH,
Mikey
--
PHP
, I have just had a look around w3 and have found some inferences that
support my view but nothing that states clearly in either direction. Does
anyone on this list have a definitive answer for this one?
TIA,
Mikey
--
The revolution will not be sent as an e-mail attachment.
--
PHP General
the backslash to escape the
$:
$str = \$foo = $bar;
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks to everybody for their comments, I now have more than enough ammo to
justify our decisions.
Regards,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
This is not the proper list to put this question but i hope
you can help me.
Does anyone know a good tutorial about mysql injections?
Thanks a lot for your help
http://phpsec.org
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
, preg_replace, etc).
I think this solution will apply to your other post as well.
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
or knew of a place to download the
client
libraries so that I can have a bash myself?
TIA,
Mikey
--
The revolution will not be sent as an e-mail attachment.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
submitting the
form, how can i know which chekboxes were checked ?
Thanking you in advance.
Warm Regards,
Mário Gamito
input name=foo value=bar type=checkbox Bar
Would result in $_REQUEST['foo'] being a) set and b) hold the value of
bar.
regards,
Mikey
--
PHP General Mailing List (http
WAS ER SOLL?
br$querybr;
print $con-query($query);
$con-query(OPTIMIZE TABLE LoginTracker );
$this-discon ($conClas, $con);
}
thx
janbro
Have you checked that the two previous function calls are returning as
expected?
HTH,
Mikey
Robert Cummings wrote:
Mr. Lynch, either intentionally or inadvertently, you have succeeded in
making me spray water out my nose as I happened to be drinking a glass
of it when I read your reply :B
Or: water|nosekeyboard
LOL,
Mikey
--
PHP General Mailing List (http://www.php.net
to do it...
The method you choose willl *have* to live on the client side, and
unless you are planning to install PHP on all of your clients, then your
solution will *have* to be written in another language.
regards,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
permissions to access the drive that you have mapped?
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
George Pitcher wrote:
I never managed to get this working with IIS. I could with Apache (win)
though, after making sure that Apache was logged in as the administrator.
George
Thus proving that this is a permissions issue, not a PHP issue!
Mikey
--
PHP General Mailing List (http
Olga Urban wrote:
Hi, I am new to php and I would like to find out if there's some kind of
a function that would autocomplete the word/value when the user is
trying to fill out a field in a form. Thank you.
Olga
That is a client side scripting issue... try javascript...
HTH,
Mikey
some searches on
google but I guess that I have not used the correct key words because I have
not found any hints at how to logon to a site with curl.
IIRC phpbuilder.net has just done a tutorial about it
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
to be investigating...
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
but have you tried setting it to 1 rather than
true? I know that that is the format you need to use in .htaccess
files, maybe it is the same for ini_set?
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the installation instructions, that dll needs to be in your
system path - system32 is the best place for it.
hth,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php.ini file, or with
ini_set() if you only want to allow this for your one script...
hth,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is failing then it will not print anything to
screen, try:
echo (mysql_connect ('localhost','calendar','pass1234')) ? connected :
mysql_error();
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-submit your page with the order by criteria passed in.
e.g.
td class=right_linestronga
href=this_page.php?order=f_nameorder=descFirstname/a/strong/td
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mikey wrote:
Ross wrote:
I have a query
$query = SELECT * FROM sheet1 WHERE '$filter' LIKE '$search_field%'
This prints out a table
while ($row = @mysql_fetch_array($result, MYSQL_ASSOC)){
// this just fills the empty cells
if ($row['fname']==){
$row['fname']=nbsp;;
}
if ($row['sname
the session management. If you really want to write your own
http server then maybe take a look at the Apache source code. It will
either give you some good pointers or make you realise what a huge task
you are undertaking...
Mikey
--
PHP General Mailing List (http://www.php.net
.
Is not much info, I kow, but it might be a starting place for you...
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;
I wish you the best of luck with your project :^)
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
?
I (and this is jus a preference) do:
$var = (isset ($_GET['var'])) ? $_GET['var'] : null;
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to sound like I am having a go, but this list really
is for technical problems with PHP, not a replacement for the manual.
regards,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
platform up this week. =(
Thx
CC
I guess you have tried reading the walkthrough on Oracle?
http://www.oracle.com/technology/tech/php/index.html
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with voicemail
Javascript:
document.location = new_url.html;
HTML:
meta http-equiv=refresh content=1,http://site.com/new_page.html;
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Thanks for the help.
babu
-
Yahoo! Messenger NEW - crystal clear PC to PCcalling worldwide with voicemail
You could put them in session vars -
http://uk.php.net/manual/en/ref.session.php
Mikey
--
PHP General Mailing List (http://www.php.net
have found this to be very reliable in the past.
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/rasdial.mspx
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with no modification to code. I have been
using this technique for years to make server calls without page
refreshing. (Well, that or an invisible frame/iframe/layer)
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
variables and have a graph
generated without a full page reload on the same page...
kind of an interactive graphing web tool.
any examples of this sort are appreciated :)
g
On Aug 3, 2005, at 9:36 AM, Mikey wrote:
Graham Anderson wrote:
not a whole lot of info on the subject for working
that then the cookie will expire as soon as the browser
session has been closed - I dont think that is what the OP wanted. As
per the previous post, all you can really do is set it for some date far
in the future.
Mikey
--
The revolution will not be sent as an email attachment.
--
PHP General
for many
reasons[1] (like not breaking the back button).
[1] http://www.w3.org/QA/Tips/reback
Because if you just re-direct to a new location then the cookie that you
have also set in the headers will not reach the client.
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
is client side and PHP cannot change what happens to the code
once it has been sent) then you can use html2ps to render and print a page.
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as
somehow saving data from the db/tbl (short of using session vars)
thanks
-bruce
[EMAIL PROTECTED]
What you should use is a persistent connection - mysql_pconnect() - IIRC
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mikey wrote:
bruce wrote:
hi...
if an app has a webpage that has to interface/display data from a
mysql db,
does the app have to essentially do a new db_connection for each time
that a
user accesses the page during the session.
as far as i can tell, it does.
in other words, the page
.
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on the client side.
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
:
http://uk.php.net/manual/en/function.get-browser.php
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John Nichel wrote:
Mikey wrote:
snip
http://uk.php.net/manual/en/function.get-browser.php
How about that. I've been using php since late '98, early '99.
Messing around on this list since '99, and _did not_ know about that
function.
Ah now, don't be saying things like
.
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and then running is_int() usually works.
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
httpd-2.0.46-44
Regards thanks in advance
Peter
Store the form information is session vars, and pre-fill the forms with
those session vars when the page loads. e.g:
input type=text name=foo value=? if (isset ($_SESSION['foo']))
echo $_SESSION['foo']; ?
HTH,
Mikey
--
PHP General Mailing
a suggestion.
My guess would be that your webserver isn't running as the same user as
your shell account - for details on how to fix this, please have go at STFA,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
into the query function manually?
Thanks
Thomas
SPIRAL EYE STUDIOS
P.O. Box 37907, Faerie Glen, 0043
Tel: +27 12 362 3486
Fax: +27 12 362 3493
Mobile: +27 82 442 9228
Email: [EMAIL PROTECTED]
Web: www.spiraleye.co.za
Have you tried looking up debug_backtrace() in the manual?
HTH,
Mikey
/);
require_once _LIBPATH . site.php;
$site = new CSite(./site.xml,true);
$site-Run();
?
Run() is a method of the CSite class - you will need to look in the
defination of that class to find out what it does,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
. I am not really sure about
how GPRS works, but I thought that any internet server could serve WML as
long as it was valid.
I have read a little about gateways and from what I have read it seems
that it would be my phone company that was responsible for providing that.
Any ideas?
Mikey
maybe that helps you on your way?
whatever you do you need to cough up money for a GPRS connection :-)
All I want to do is to be able to allow access to my email from my phone, to
start off with and then move slowly from there.
Mikey
--
PHP General Mailing List (http://www.php.net
can't even see their own pages!!! So, maybe
my pages are OK after all.
Again, thanks a lot for the link - anyway of avoiding the steep part of the
learning curve is good with me.
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a pg_connect() error... FATAL: no pg_hba.conf entry for
host 192.168.1.100
Any ideas?
You will need to install the client libraries, as you would for any database
- you will need to go to the Postgres web-site for details of how to do
that.
HTH,
Mikey
--
PHP General Mailing List (http
Have you tried using the backtick (``) operator? I don't know if it makes
any difference, but it might be worth a try...
HTH,
Mikey
-Original Message-
From: Andre Dubuc [mailto:[EMAIL PROTECTED]
Sent: 23 January 2005 21:08
To: php-general@lists.php.net
Subject: [PHP] Attempting to use
? Have I
missed *another* meeting?!?
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and to that is stored in the
database? I know how to easily determine the number of days
I know that if I spent time on it, I would be able to do it, but I have a
very close deadline and if anyone else has been through this I would
*really* appreciate the help...
Mikey
--
PHP General Mailing List (http
*PLEASE NOTE*
I know that if I spent time on it, I would be able to do it, but I have
A very close deadline and if anyone else has been through this I would
*really* appreciate the help...
Are you using MySQL? If so you can start with the DATE_ADD and DATE_SUB
functions.
for libxml
installed?
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
... was fairly clear.
Anyway, my apologies to Jay for being short and my thanks to Richard, whose
code kinda worked and did save me some time.
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
']}\);
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if (mysql_num_rows($SQL) == 1) {
Err, this is just the query string variable right? So you need to do:
$sth = mysql_query ($SQL);
If (mysql_num_rows ($sth) == 1)
Then you will be checking the result set and not just the query string.
HTH,
Mikey
--
PHP General Mailing List (http
If (mysql_num_rows ($sth) == 1)
Gr. Mean't to be if, but Outlook is insisting that it knows english
better than I.
Pah!
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 30 January 2005 23:30
To: php-general@lists.php.net
Subject: [PHP] Re: Hello
Please answer quickly!
OK. No! :-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Argghhhreturn receipts
I just mailed the guy and gave him a friendly nod - they are off now :-)
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in my local copy. Don't use a
sledgehammer to open a walnut :-)
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
any reason why you shouldn't be able to write these queries in C
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Hope everybody else is sending this guy read receipts?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All,
I just wanted to know if there is an equivalent of Perl's
Config::Ini = Module in PHP
Try parse_ini_file() in the manual...
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
found that works?
-- A
Off the top off my head, but you could set a session var in the thankyou
page and some logic in the upload page that prevents the applet code from
displaying if that session var is set...
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Hi,
Sorry i don't really find something useful there.
That is cos pdflib is for making pdfs and not parsing them. AFAIK you are
on your own with parsing a pdf, or you may have to result to third party
libraries.
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
-Original Message-
From: Matt M. [mailto:[EMAIL PROTECTED]
Sent: 09 February 2005 21:39
To: Mirco Blitz
Cc: php-general@lists.php.net
Subject: Re: [PHP] Parsing pdf file
did you try this?
[huge snip]
I stand corrected :-)
--
PHP General Mailing List (http://www.php.net/)
To
in a foreach.
foreach($elementsarr as $key=$tmp);
{
echo $key=$tmpbr;
}
Now the result of that is:
35=bund
The array that you are trying to use foreach on is a numerically indexed
array (note the [0] = knr, etc) - this might explain your problem!
Mikey
--
PHP General Mailing List (http
Lookup the manual in the date and time section, more specifically:
http://uk.php.net/mktime
If the date is then on a weekend, you can add whatever days you need.
HTH,
Mikey
-Original Message-
From: Ben C [mailto:[EMAIL PROTECTED]
Sent: 11 February 2005 15:38
To: php-general
...
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://uk.php.net/header should help you.
BTW, you should address your replies to the list and not to individual ppl.
Mikey
-Original Message-
From: Diana Castillo [mailto:[EMAIL PROTECTED]
Sent: 17 February 2005 12:36
To: [EMAIL PROTECTED]
Subject: Re: [PHP] FOPEN
how do I
allows for rendering of HTML in a
textarea but it only works on IE: http://www.interactivetools.com/ but
again, this would require the same kind of modification as above.
Another solution would be to use an iframe src=aaa.php tag...
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net
with anonymous email addresses. The *INSTANT* I
receive my first piece of spam to this address, I'm history.
That will be your loss.
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
here - there have been some very valid
points made, I just hope this thread can die a quick and silent death not
that the technical issue has been addressed.
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is what you
want, and it will explain why doing something like that will not work as
expected. Some proxies assign new IPs for every request from a single
client (AOL in particular). Do you really want to exclude a large
proportion of the internet population?
HTH,
Mikey
--
PHP General Mailing List
The difficulty is trying to find a solution that would limit
access and do all the fancy stuff that we had discussed,
without interfering with the pre-existing authentication
system.
How about taking the auth status of a user from the headers and then
performing additional verification
Is there a way to leave the inline frame?
You could get your script to write some JavaScript instead of the header
along the lines of:
window.parent.document.location = mypage.php;
(This is not tested, and YMMV...)
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net
Dear phpers,
I'm using php 4.2.2 and gd version 1.8 which seems don't
support gif pictures.
However, I want to send a single gif picture to the client side.
How can I do it?
Any help would be appreciated.
A single gif - that you have already made?
img src=mygif.gif
Or, if you are using
Now down to the PHP specific question. Is there a way to
generate an externally linked javascript file? The
javascript functions in question are created from data
sitting in a MySQL data, so I can't hard code the javascript.
Yes, just change the .js extension to .php
HTH,
Mikey
,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
was stupidly
simple. The correct header to send is text/plain - doh!
Regards,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
`ps -ax` and looping thourhgthe results
to see if your script is being run?
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RewriteEngine on
RewriteRule /^(.+).htm$ /query.php?q=$1
AFAIK you should have that space at the end of your regex after the $
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 138 matches
Mail list logo