PJ wrote:
Caner Bulut wrote:
Hi PJ,
You can use the structure following
$bid = htmlentities($_GET['id']);
the code below
if(empty($bid) {
$bid=0;
}
produces an empty screen with no error messages...
I have been having some trouble understanding empty() -- it doesn't
seem to want to
kranthi wrote:
the code works?
the above warnings suggest that ter is a mysql syntax error.
moreover the documentation of mysql_affected_rows suggests that u should
supply a valid recource identifier but not a mysql result resource.
i.e., the above should be mysql_affected_rows($db)
PJ wrote:
Shawn McKenzie wrote:
PJ wrote:
Caner Bulut wrote:
Hi PJ,
You can use the structure following
$bid = htmlentities($_GET['id']);
the code below
if(empty($bid) {
$bid=0;
}
produces an empty screen with no error messages...
I have been having
Parham Doustdar wrote:
Hi there,
I am writing a PHP FTP client for my project. I want to put a download
option and an upload option, but I don't know how. My problem is this:
How can I make the server the PHP script is on delete the file after
uploading it to the SFTP, or after the user has
Caner BULUT wrote:
Hi Guys,
I have a question if you have any knowledge about this please let me know.
I getting data from a form with POST method like following.
$x = htmlentities($_POST['y']);
.
After getting all form daha I save them into DB, I used
with the Turkish chars?. Maybe try htmlspecialchars()
as it only converts a few specific chars.
Thanks.
-Original Message-
From: Shawn McKenzie [mailto:nos...@mckenzies.net]
Sent: 22 June 2009 23:27
To: php-general@lists.php.net
Subject: [PHP] Re: XSS Preventing.
Caner BULUT wrote:
Hi
Bastien Koert wrote:
On Fri, Jun 19, 2009 at 11:20 AM, Jonathan Tapicertapi...@gmail.com wrote:
Did you execute the code I sent? Does it give you a false?
Jonathan
On Fri, Jun 19, 2009 at 12:17 PM, Bastien Koertphps...@gmail.com wrote:
Correct, I send the @
Bastien
On Friday, June 19,
Peter Ford wrote:
LAMP wrote:
hi,
I have this structure:
/home/lamp/mydomain/html
/home/lamp/mydomain/logs
/home/lamp/mydomain/config
etc.
html directory is the only one accessible from outside.
to access config file I can use this:
required_once('/home/lamp/mydomain/config');
but
PJ wrote:
I just thought I would share a revelation.
Someone just pointed me to a site that IMHO is superb for elegance of
artistic design and programming.
I was blown away.
http://www.apfq.ca
You won't regret it. 8-)
Superb for a mass of validation errors. It must be in the design stage
Gary wrote:
The center echo does not show. It will show if I replace $newmort with
anything else. I have copied the first if statement,pasted it in the
second position, and it works fine. Once I change the var to $newmort, it
will not show. The third echo shows fine, it is only if I use
PJ wrote:
It does, indeed. This confirms my inexperienced conclusion that
in_array() does not work on associative arrays per se; it works on
simple arrays and I just don't have the experience to think of
extracting only the id fields.
I actually am using a slightly more complicated if else
Philipp Schaffner wrote:
Dear PHP [hard]core expert
After apt-get install php5-dev on Linux (Debian, Ubuntu, Hardy Heron)
with an already existing and functioning PHP5 interpreter phpinfo()
still shows PHP Version 5.2.4-2ubuntu5.6. BUT at the same time
phpinfo() shows Build Date: April 17
PJ wrote:
Ashley Sheridan wrote:
On Wed, 2009-06-17 at 10:01 -0400, PJ wrote:
Ford, Mike wrote:
On 16 June 2009 20:48, PJ advised:
Now, I was happy to learn that it is simpler to populate the
insert new
books page dynamically from the db. Much shorter neater.
It looks
tedd wrote:
At 6:09 PM -0400 6/15/09, PJ wrote:
I am having difficulties figuring out how enter retrieved data into a
dropdown box for editing. Here's a snippet:
...snip
select name=categoriesIN[] multiple size=8
option value=1Civilization/option
option value=2Monuments,
Gary wrote:
I have a client that I have made some forms for. On one of the forms, their
customers are to registar for a class. The cost of the class is 195 per
person. She would like to have the people be able to have the total cost
calculated for them before they submit the form. (I
Daniel Kolbo wrote:
Hello,
I've cleaned up my question a bit.
I want the included file which is called within a method of a class to
have the same scope as the instantiation of the class's object. That
is, i want a class to include a file in the calling object's scope. How
would one do
Gary wrote:
My my, someone woke up on the wrong side of the bracket
Acutally, the silliness of the request has not been lost on me or the
client. And no, it is a simple 195 times number of people, which is usually
under 5, so, I understand your recent scratching of the head...
I
Shawn McKenzie wrote:
Daniel Kolbo wrote:
Hello,
I've cleaned up my question a bit.
I want the included file which is called within a method of a class to
have the same scope as the instantiation of the class's object. That
is, i want a class to include a file in the calling object's
Brian Dunning wrote:
So I've added a product to my online store that's in .DMG format. Most
of the other files are ZIP or PDF. When someone completes a purchase, it
downloads the file to them, and this works great:
header('Content-Type: application/octet-stream');
Daniel Brown wrote:
On Tue, Jun 16, 2009 at 12:34, Garygwp...@ptd.net wrote:
I was thinking/hoping there was some mechanism that would calculate the
amount without hitting the submit button, something like a OnExit command.
Something that I would not have to work around the validation feilds
Brian Dunning wrote:
Don't think so, only when I download via the PHP code I posted:
On Jun 16, 2009, at 10:40 AM, Brian Dunning wrote:
If you do a direct download, it mounts on the desktop perfectly, and
there's all the stuff inside.
Use livehttpheaders or some other header
PJ wrote:
I'm sorry, guys, but I am really getting po'd.
The irresponsible sloppiness and stupidity is just getting to me.
In my quest for a way to populate a multiple option select box I have
run across so many errors that it's beyond belief... such nonsense as
select for select or
Brian Dunning wrote:
Extra info, in case needed: my code says
fopen('\\servername\sharename\folder\file.xml', 'w');
and it returns Failed to open stream, no such file or directory. I've
verified that the PHP machine does have unrestricted permissions to that
share and to the directory.
Al wrote:
This preg_replace() should simply replace all with amp; unless
the value is already amp;
But; if $value is simple a quote character [] I get quote. e.g.,
test = quote;testquote;
Search string and replace works as it should in Regex_Coach.
echo $value.'br /';
HELP! wrote:
hi
I can not get the stream_get_contents() to work. it's returning empty.
If you have a login details ALOGINPASS 1A cant you just fwrite($ft,
ALOGINPASS 1A); or do you need to add other things
Depends upon what the server is expecting.
what is the meaning of this string GET
revDAVE wrote:
Php - MySQL - newbie question
- Field type for american money - int(11) seems to work fine
- but also I tried decimal(10,2)
Is one a better choice than another for american money usage?
--
Thanks - RevDave
Cool @ hosting4days . com
[db-lists 09]
If you are
Waynn Lue wrote:
For mysql, it's better to use int and then store it in cents (or
micros) so you can use all integer operations instead of float ones.
To each his own. Speed or otherwise I don't see a difference between:
$total = 19.95 + 3.99; //shipping
and
$total = 1995 + 399;
Robert Cummings wrote:
Shawn McKenzie wrote:
Waynn Lue wrote:
For mysql, it's better to use int and then store it in cents (or
micros) so you can use all integer operations instead of float ones.
To each his own. Speed or otherwise I don't see a difference between:
$total = 19.95 + 3.99
Ashley Sheridan wrote:
On Wed, 2009-06-10 at 18:28 +0200, Nitsan Bin-Nun wrote:
mysql_real_escape_string() only sanitise the input. I would personally
only allow [a-zA-Z0-9-_] in search string but that's just me ;)
Validate the input in some way, or make extra sanitisation of it
before
Ashley Sheridan wrote:
On Wed, 2009-06-10 at 14:40 -0400, Andrew Ballard wrote:
On Wed, Jun 10, 2009 at 2:26 PM, Ashley
Sheridana...@ashleysheridan.co.uk wrote:
On Wed, 2009-06-10 at 14:14 -0400, Eddie Drapkin wrote:
On Wed, Jun 10, 2009 at 2:08 PM, Ashley Sheridan
Skip Evans wrote:
Hey all,
You may have seen my earlier message about a current client whose site
I've taken over maintenance on that is trying to get PCI Compliance from
Security Metrics. I've put all the forms behind https and a couple of
other things, but this one I don't know how to
Skip Evans wrote:
Hey guys gals all ships at sea,
We've been approached by a central office of a relatively large
religious denomination that collects data from their member churches in
the form of an 11 page questionnaire with a diverse set of questions
ranging from multiple choice,
Andrew Ballard wrote:
On Thu, Jun 4, 2009 at 12:54 PM, PJ af.gour...@videotron.ca wrote:
This may not be strictly php but I think is may be relevant.
Were I to use a different css file for every page (that is slightly
different), would that affect performance?
It seems to me that might be a
PJ wrote:
PROBLEM 1 solved: errant divs removed; strange that they were
inhibiting entry of data into form field?
PROBLEM 2 not resolved: but the form was off the page and clipped in
upper right hand corner. What can be done to get it to show correctly?
Remove the link to any stylesheets
João Cândido de Souza Neto wrote:
The var $_SERVER[DOCUMENT_ROOT] in your case contais
/Applications/MAMP/htdocs/ so using it whenever you change your server,
it´ll work without any change.
Yes, moral of the story is: file_exists() is for use on a file system or
using a wrapper that
PJ wrote:
AngeloZanetti wrote:
Shawn McKenzie wrote:
PJ wrote:
PROBLEM 1 solved: errant divs removed; strange that they were
inhibiting entry of data into form field?
PROBLEM 2 not resolved: but the form was off the page and
clipped in upper right hand corner. What can be done to get
revDAVE wrote:
I found the answer here - I had --- whitespace ... if ?php is at line 2
Location: http://www.phpbuilder.com/board/showthread.php?t=10310794
Blank space above the php tag or below the final php tag
It is not intuitive but ...
if ?php is at line 2 of your script and a
Samuel Vogel wrote:
Hey,
I would like to know how I can instantiate the types that I get via the
__getTypes() function or know if this is even possible.
I am asking because I have a webservice in which all functions expect an
specific object to be passed to them, rather than a list of
Shawn McKenzie wrote:
Samuel Vogel wrote:
Hey,
I would like to know how I can instantiate the types that I get via the
__getTypes() function or know if this is even possible.
I am asking because I have a webservice in which all functions expect an
specific object to be passed to them
Jason Pruim wrote:
On May 31, 2009, at 10:53 PM, Angus Mann wrote:
Hi all. I realize this is more an HTML question than PHP but I'm sure
someone here can help.
I have several forms with lots (dozens) of text inputs. If the user
presses the Update button I want the form handled by
Matthew McKay wrote:
On Mon, Jun 1, 2009 at 2:43 PM, James Ausmus
james.ausmus.li...@gmail.comwrote:
On Mon, Jun 1, 2009 at 12:32 PM, Matthew McKay m...@mattmckay.org wrote:
It would be much simpler and cleaner to use Javascript to modify the
form's
action attribute onClick.
Not really.
Samuel Vogel wrote:
Am 01.06.2009 20:05 Uhr, schrieb Shawn McKenzie:
Shawn McKenzie wrote:
Samuel Vogel wrote:
Hey,
I would like to know how I can instantiate the types that I get via the
__getTypes() function or know if this is even possible.
I am asking because I have
Michael A. Peters wrote:
Bob McConnell wrote:
like a web based front end,
exclusion of specific ingredients due to allergies and being able to
attach dated notes about alterations or substitutions I try each time
That sounds wicked.
One of my brothers is allergic to corn.
Being able to
bruce wrote:
Hi..
Got a need to be able to allow a user to specify the frequency to run
certain apps/processes.. I need to be able to have the user specify a start
Time, as well as a periodic frequency (once, hourly, daily, weekly...) as
well as allow the user to specify every XX minutes...
to actually
craft a more generic solution, independent of the underlying language/os..
thanks
for next month.. and the start
-Original Message-
From: Shawn McKenzie [mailto:nos...@mckenzies.net]
Sent: Friday, May 29, 2009 2:48 PM
To: php-general@lists.php.net
Subject: [PHP] Re
Luke wrote:
Right I've read the manual on this and all that so hopefully you find people
can help.
I have an abstract class with three children. The abstract is ForumObject
and the three children are Thread, Category and Post and each have their own
table so I wrote the following:
abstract
Miller, Terion wrote:
Does the filename include the path? Does the image with said filename
actually exist in that path?
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hmm guess I
PJ wrote:
I was afraid I would get this kind of reaction, but it is not what I
want or need.
As I mentioned, all these shopping carts are overbloated for the kind of
application I am creating.
I do not need all the heavy baggage that come with them. I have looked
at them, played with them
Miller, Terion wrote:
Thanks for the suggestions everyone, I have this now, but still no image
showing up
It is stored as a blob in the database.
on the output page I am calling it like this:
img src=image.php?filename=?php echo $row['ePhoto']; ?
I was assuming that ePhoto was
Shawn McKenzie wrote:
Miller, Terion wrote:
Thanks for the suggestions everyone, I have this now, but still no image
showing up
It is stored as a blob in the database.
on the output page I am calling it like this:
img src=image.php?filename=?php echo $row['ePhoto']; ?
I
Robert Cummings wrote:
On Tue, 2009-05-26 at 18:30 +0100, hessi...@hessiess.com wrote:
Something that seriously annoys me about PHP is the fact that it has
a configuration file which can *completely* change the behaviour of
the language. Take the following for example:
kranthi wrote:
i have this script
?php
$x = 1;
$y = 2;
$a1 = array($x, $y);
$a2 = array($x, $y);
$a2[0] = 3;
print_r($a1);
print_r($a2);
?
i am expecting
Array
(
[0] = 3
[1] = 2
)
Array
(
[0] = 3
[1] = 2
)
while i m getting
Array
(
[0] = 1
kranthi wrote:
thank you for the reply.
i had a small misunderstanding regarding variable reference...now its clear
but..
the output of
?php
$x = 1;
$a1 = array($x);
var_dump($a1);
?
is
array(1) {
[0]= int(1)
}
while for
?php
$x = 1;
$a1 = array($x);
Daniel Brown wrote:
On Fri, May 22, 2009 at 08:02, Michael A. Peters mpet...@mac.com wrote:
If I recall - it is illegal to end a css class name is a number.
I'm not positive though.
You are correct. They just executed a man in Texas for this.
Yes we did, however that infraction is
Ashley Sheridan wrote:
Tedd, I've got a fairly simple calendar script in PHP here
http://www.ashleysheridan.co.uk/coding.php?group=phparticle=coding_php_calendar.php
which could be adapted fairly easily with the right tweaks.
Ash
www.ashleysheridan.co.uk
I cant get the calendar on
Ashley Sheridan wrote:
On Thu, 2009-05-21 at 10:44 -0500, Shawn McKenzie wrote:
Ashley Sheridan wrote:
Tedd, I've got a fairly simple calendar script in PHP here
http://www.ashleysheridan.co.uk/coding.php?group=phparticle=coding_php_calendar.php
which could be adapted fairly easily
Peter van der Does wrote:
I have the following situation.
I wrote some software and split it up into functionality:
class core {
function go{
}
}
class A extends core {
// PHP4 constructor
function A {
$this-go();
}
}
class B extends core {
}
In core I
Michael A. Peters wrote:
Sumit Sharma wrote:
Hi,
I am designing a php website for my client which interact with database.
This is my first project for any client (I hope he is not reading this
mail
;-) ). I am a bit more concerned with database security. Can somebody
shed
some light on
Eddie Drapkin wrote:
Suhosin is completely not-related to SQL, though, I don't know why you'd
bring it up...
Well, because the post that I was replying to brought it up and I happen
to agree that it's a good idea even though it has nothing to do with SQL :-)
Michael A. Peters wrote:
Use
Peter van der Does wrote:
On Thu, 21 May 2009 14:08:11 -0500
Shawn McKenzie nos...@mckenzies.net wrote:
This doesn't make sense. You say class A needs to be extended with
another class, however what you show below is class A extending
framework_class.
I worded it wrong, I apologize
Shawn McKenzie wrote:
Peter van der Does wrote:
On Thu, 21 May 2009 14:08:11 -0500
Shawn McKenzie nos...@mckenzies.net wrote:
This doesn't make sense. You say class A needs to be extended with
another class, however what you show below is class A extending
framework_class.
I worded
Nathan Rixham wrote:
I just wanted to run this past you guys for thoughts and opinions or
even just to get brains ticking, it's all web development related and
touched on throughout this thread.
At the core of this we have a single problem, we create websites and web
based applications,
Nathan Rixham wrote:
Shawn McKenzie wrote:
Nathan Rixham wrote:
I just wanted to run this past you guys for thoughts and opinions or
even just to get brains ticking, it's all web development related and
touched on throughout this thread.
At the core of this we have a single problem, we
Nathan Rixham wrote:
Java anyone?
eh? how do you get java from that?
.
user requests content
sub-client required and application location are sent to users client.
sub-client is launched within users client
sub-client loads required application
application connects to server
dele454 wrote:
hi,
I am working on integrating a credit payment service from setcom. on
completion of transaction setcom sends bunch of post variables that my
script has to send back to setcom to get the details of the transaction as
an xml file.
I am using the pecl_http
Darrel St Croix wrote:
Thanks for that.
I have changed the code as you suggested, but there is an error on the while
loop.
*Warning*: mysql_fetch_array(): supplied argument is not a valid MySQL
result resource in *C:\wamp\www\draft\basket.php* on line *46*
That's because $result is not
PJ wrote:
How does one deal with tag completion from an include file to the
main(source)-file?
i.e. c should a tag, such as head or div be closed withing the
include file? Or can body be started in the include file and closed in
the main-file?
It doesn't really matter, however it may be
PJ wrote:
I'm a bit fuzzy on the relationship between the ? ? and the HTML code.
Where should the php code be placed in a page so that execution is
carried out smoothly? So far, my coding has managed to avoid horrendous
snags; but as I delve deeper into the quagmire of coding, I would like
to
Jerry Zhao wrote:
Hi,
I am having trouble connecting to https sites using php's builtin ssl
functions.
I tried:
file_get_contents('https://securesite')
fsockopen('ssl://securesite', 443, $errno, $errstr,20)
and same errors every time:
SSL: connection timeout
Failed to enable crypto
Moses wrote:
Hi Everyone
I have tried to configure my php.in file so as allow me to send email in PHP
from local server.
I added the lines in php.ini file
sendmail_path = /usr/sbin/sendmail -t
sendmail_from = n...@localhost
Therafter restarted my apache by:
sudo
PJ wrote:
Could somebody please explain this?
When the line - sort($category) is commented out, the output returns
Notice: Undefined offset: in the line 36 for all the repeats (29 in
this case)
Sure it makes sense and is rational, you just have no idea what you're
doing :-)
The code below:
whisperstream wrote:
I have a server running that receives xml formatted events from other
services I have no control over. For certain events the transfer-encoding
is chunked.
I was just doing
$input = file_get_contents('php://stdin');
and this works well until there is chunked
Miller, Terion wrote:
On 5/8/09 8:04 AM, Jônatas Zechim zechim@gmail.com wrote:
Try to change this:
curl_setopt($ch,CURLOPT_URL,$targets);
to:
curl_setopt($ch,CURLOPT_URL, $target_url);
Zechim
zechim.com
São Paulo/Brazil
Thanks for the suggestion:
Tried it and get
~ @igorescobar
On Wed, May 6, 2009 at 2:36 PM, Shawn McKenzie nos...@mckenzies.net
wrote:
Igor Escobar wrote:
Hunnn...
So, what do you think now?
function _antiSqlInjection($Target){
$sanitizeRules =
array('OR','FROM','SELECT','INSERT','DELETE','WHERE','DROP
TABLE','SHOW TABLES
Igor Escobar wrote:
Hi folks,
Someone know how i can improve this function to protect my envairounment
vars of sql injection attacks.
that is the function i use to do this, but, some people think is not enough:
* @uses $_REQUEST= _antiSqlInjection($_REQUEST);
* @uses $_POST =
Igor Escobar wrote:
Hunnn...
So, what do you think now?
function _antiSqlInjection($Target){
$sanitizeRules =
array('OR','FROM','SELECT','INSERT','DELETE','WHERE','DROP
TABLE','SHOW TABLES','*','--','=');
foreach($Target as $key = $value):
if(is_array($value)):
Igor Escobar wrote:
hun...by the way I forgot to mention, I am Brazilian and here in Brazil
these words are not common ...
Yes, but you can reuse your function even if you start accepting english
posts/comments, etc. You don't want this function to be specific to
your app or data because
Igor Escobar wrote:
Yeah yeah, i understood that, but, the point is... i sad previously, my
function is not tied to any database.
Is a generic function, i dont know who be use this, so i don't know, what is
your data base so, i can't use functions like mysql_real_scape_string etc...
Then
Please reply all.
Do you test with associative arrays?
Yes.
Array
(
[test] = some stuff \here\
[test_array] = Array
(
[a] = a\a
[0] = b\'b
[c] = Array
(
[x] = x\x
[0] = y\'y
Andrew Ballard wrote:
On Wed, May 6, 2009 at 2:25 PM, Shawn McKenzie nos...@mckenzies.net wrote:
Igor Escobar wrote:
Yeah yeah, i understood that, but, the point is... i sad previously, my
function is not tied to any database.
Is a generic function, i dont know who be use this, so i don't
Marcus Gnaß wrote:
Robert Cummings wrote:
On Wed, 2009-05-06 at 12:56 +0200, Marcus Gnaß wrote:
Tom Worster wrote:
there's a control structure i wish php had: a simple block that you can
break out of, e.g.
As Maarten pointed out you could use a function. Another alternative is
to use
Tom Worster wrote:
there's a control structure i wish php had: a simple block that you can
break out of, e.g.
block {
if ( condition )
break;
blah...
blah...
if ( another condition )
break;
blah...
blah...
etc...
}
the block is just like a loop
Adam Williams wrote:
With the wide range of users on the list, I'm sure there are plenty of
opinions on what are good graphical IDE's and which ones to avoid. I'd
like to get away from using notepad.exe to code with due to its
limitations. Something that supports syntax/code highlighting and
9el wrote:
On Thu, Apr 30, 2009 at 3:33 AM, 9el le...@phpxperts.net wrote:
I just got a project to do on PHP of scraping the body items from
static sites or just html sites.
Could you experts please suggest me some quick resources?
I have to make an WP plugin with the data as well.
Any
Philip Thompson wrote:
On Apr 29, 2009, at 11:42 AM, Matt Neimeyer wrote:
I have a function that currently takes a boolean value as a parameter.
But now I want to expand it to 3 options... So if I have...
function doFooBar($doFoo = false)
{
if($doFoo)
{ echo Did Foo; }
else
Brian Dunning wrote:
Howdy all - We have a production server that runs our script fine. We're
setting up a test server, and this particular script returns a length of
zero:
$ctx = stream_context_create(array('http' = array('timeout' = 1200)));
// 20 minutes per file
$contents =
Shawn McKenzie wrote:
Brian Dunning wrote:
Howdy all - We have a production server that runs our script fine. We're
setting up a test server, and this particular script returns a length of
zero:
$ctx = stream_context_create(array('http' = array('timeout' = 1200)));
// 20 minutes per file
Paul M Foster wrote:
On Mon, Apr 27, 2009 at 03:16:10PM -0700, Daevid Vincent wrote:
This is tripping me out! i feel so duped! :)
http://webbytedd.com/b1/photo-retouch/
this didn't work, maybe due to some JS errors. tried in FF3 and IE6.
http://webbytedd.com/b/watermark/
I like your
Gary wrote:
Thanks again, dont see any DOM
As I mentioned I am no longer getting error message, but not sure it is
working.
I have this at the begining of the first file.
?php
session_start();
setcookie('sale_cookie','$sale_value', time()-3600);
Michael Shadle wrote:
On Mon, Apr 27, 2009 at 5:46 PM, Shawn McKenzie
nos...@mckenzies.net wrote:
#1 Which one are we talking about?
Tickets/trackers (Bugzilla, Mantis, Roach, you name it) and SCM
integration tools (Redmine, Trac)
OK, so geared towards software bugs I assume (I haven't
Michael Shadle wrote:
On Mon, Apr 27, 2009 at 3:27 PM, Daevid Vincent dae...@daevid.com wrote:
I just didn't want someone to think this was the caliber of code I wrote!
;-)
totally understood. i don't like people getting the wrong idea of my code too
:)
I am using Trac personally, but
Merlin Morgenstern wrote:
Hi there,
I am trying to unzip a zip file. Therefore I am using this function:
# unzip a file
function extract_zipfile($filename){
$zip = zip_open($filename);
if ($zip) {
while ($zip_entry = zip_read($zip)) {
$fp =
Merlin Morgenstern wrote:
Shawn McKenzie wrote:
Merlin Morgenstern wrote:
Hi there,
I am trying to unzip a zip file. Therefore I am using this function:
# unzip a file
function extract_zipfile($filename){
$zip = zip_open($filename);
if ($zip) {
while ($zip_entry
Edward Diener wrote:
Phpster wrote:
On Apr 21, 2009, at 20:32, Edward Diener el...@tropicsoft.com wrote:
I have a PHP script which uses the PHP 'mail' function. When the
script's 'to' address is an ATT address, such as my own as an ATT
ISP customer, the mail never gets to me. If the 'to'
Alan Chen wrote:
Hi, everyone,
I want to write a small PHP script test.php that can determine whether a
webpage is Google Cached.
Assuming it is uploaded to www.mysite.com, and I want to use it to check
whether www.yoursite.com is google cached.
It works as follows:
The user input
®0L¥ wrote:
I have a littli application in PHP that I do with appserv, in my local
server work ok but when I upload de page.php to the hosting server don't
work, the hosting say in your page that support php and the web server is
apache because the directory is httpdocs, and why my page dond;t
PJ wrote:
How to deactivate checkboxes when one in a series is checked?
input type=checkbox name=choice[1]another input
input type=checkbox name=choice[2]another input1
input type=checkbox name=choice[3]another input2
input type=checkbox name=choice[4]another input3
So that only 1 of the
Bastien Koert wrote:
On Fri, Apr 17, 2009 at 11:41 AM, Adam Williams
awill...@mdah.state.ms.uswrote:
I have the code:
$mysqli_get_support_types = Select types from support_types order by
types;
$mysqli_get_support_types_result =
mysqli_query($mysqli,$mysqli_get_support_types) or
Adam Williams wrote:
Shawn McKenzie wrote:
No. How about:
while ($row = mysqli_fetch_array($mysqli_get_support_types_result))
{
echo option.$row['types'];
}
thanks, now that you provided that, I see that I left out the $row
variable
Fred Silsbee wrote:
Fedora 9
(1) all programs using oci8 working 100%
(2) oci8 NOT installed using yum
yumex not showing any reference to oci8
php-pear installed using yumex(yum)
(3) yum update errors below
Loaded plugins: refresh-packagekit
Setting up Update Process
301 - 400 of 1115 matches
Mail list logo