ve an idea on how to do this?
Thanks in Advanced Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm running PHP as CGI instead of as an apache module because my hosting
1) suggests it and 2) this way I can compile my own PHP with whatever
options I want, including a custom php.ini.
Works great except when I load a page that doesn't exist, such as
foo.php, I get "No input file specified."
Hi,
The HTML standard defines the set of characters that are valid in form
element names. It does not include [ or ] and yet this seems to be the only
way to get a set of form elements grouped into an array for server side
processing.
Why doesnt PHP do (Perl/ASP) automatically create an array
ems to me, the rules for valid IDs & NAMEs are the same...
-Original Message-
From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED]]
Sent: 17 September 2002 12:43
To: 'Jared Williams'; [EMAIL PROTECTED]
Subject: RE: [PHP] Illegal characters in HTML form element names.
> -Or
This might be what you need.
http://www.php.net/manual/en/function.eval.php
-Jared
-Original Message-
From: Jean-Rene Cormier [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 12:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP code in a database
I'm trying to make a script th
I had this exact need but I was solved partially by my cell phone provider.
I have verizon and verizon actaully assigns each phone an email address if
you have text messenging.
So all i had to do was send an email to that address and it would go to my
phone in about 30 seconds or so.
-Jared
You might consider using output buffering in order to accomplish that goal.
http://www.php.net/manual/en/ref.outcontrol.php
You could buffer the entire page and store the buffer into the DB at the end
of the page load.
-Jared
-Original Message-
From: W. Enserink [mailto:[EMAIL
20% represents a space.
-Jared
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 9:01 AM
To: php
Subject: [PHP] forcing file downloads
I know this has been discussed many times, but I've been hunting through the
archives with very l
s in the script? Should I construct the
link differently? Is there a completely different method I'm missing
altogether?
Thanks so much in advance for any help you could provide!
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm trying to include images in my PDF file using pdf_open_png. (I've also
tried using pdf_open_gif and pdf_open_image_file.) But when I add the line:
$logo = pdf_open_png($pdf, "$CFG->imagedir/logo.png");
I get the error: Cannot find server or DNS Error (The page cannot be
displayed), and
>Its also very handy when you get an error like that to check you log files,
>usually when you get no error and no page like that, php has segfaulted
>apache, might want to check :) there might be other errors in the log files
>to help you too.
>
>Chris Lee
>Mediawaveonline.
In MySQL, I need to know how to create a row in a table that is an
auto_increment and starts at a certain number. I've tried using:
CREATE TABLE something (
id_numberint default '5000'auto_increment,
UNIQUE id_number (id_number)
);
but it sets the default to NULL. How do I do that?
I need to know how to be able to eliminate the querysting portion of the
URL that is displayed on the users browser. I don't want it possible to
click refresh and reenter in the same querystring that was used previously
(eg. php runs a mysql query of INSERT based on the querystring which only
sho
I'm having trouble establishing MySQL sessions when the client is running
from behind a remote firewall. (I.e., the MySQL server has a static
internet IP, but the remote client which is accessing, or better said,
attempting to access the MySQL database via PHP in their browser can't seem
to estab
I want to shorten a string that I'll be throwing through the url. It's not
so much that it's too long, but it's ugly. What it is, is my query string
that I need to pass through to different pages, i.e. viewing multiple pages.
Anyway, I was looking at encode and decode features but not really s
Here are the functions you need:
http://www.php.net/manual/en/ref.exec.php
-Jared
-Original Message-
From: Roman Duriancik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 9:30 AM
To: PHP-General
Subject: [PHP] shell command
How to execute dos\winnt command in php script, i
I would imagine that you could use fsockopen to open a socket connection on
that port in order to test it.
-Jared
-Original Message-
From: Scott St. John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 8:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP] SQL Server test tool
Has
= localhost;
the server has its own smtp service running on it
I also tried:
SMTP = mail.mydomain.com;
This genereated the same problem.
I have been using PHP with Apache forever but I rarely use it on Windows so
any insight into this problem would be great.
Thanks in advance,
-Jared
--
PHP
/null
I have never had a problem with this method, although I am sure it has a
higher overhead than compiling as a binary and directly calling php.
-Jared
-Original Message-
From: Henry Grech-Cini [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 6:12 AM
To: [EMAIL PROTECTED]
Subject
This is the one my company uses:
http://nocc.sourceforge.net/
I found it very easy to modify, and it fully supports attachments as well as
the related RFCs.
-Jared
-Original Message-
From: Craig [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 4:46 AM
To: [EMAIL PROTECTED
e the always present "." and ".." directories just
uncomment those two lines.
-Jared
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 8:31 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Listing the contents of a directory
getenv("HTTP_HOST");
Then parse the data as you need to to get to the root of the domain.
-Jared
-Original Message-
From: Adrian Murphy [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 9:20 AM
To: [EMAIL PROTECTED]
Subject: [PHP] apache redirect and request
Hi,
my i
are like 10 headers but none of them are ended properly
with CRLF.
Hope this helps
-Jared
-Original Message-
From: Paul Cuthbertson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 11:49 AM
To: Tyler Longren; [EMAIL PROTECTED]
Subject: Re: [PHP] Server error when executing mail
ime(0,0,0,$arEnd[1], $arEnd[2], $arEnd[0]));
$dif = $endTime - $startTime; // in seconds
That will do it but you could simplfy it with some more advanced techniques.
-Jared
-Original Message-
From: Jeroen Timmers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 2:17 PM
To: [EMAIL PRO
very parent var that I want to access.
Thanks
-Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The CHM version of the help file can be downloaded here:
http://www.php.net/download-docs.php
-Jared
-Original Message-
From: Jason Teagle [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 12:16 PM
To: php list
Subject: [PHP] CHM Form Of PHP Manual? (Was: [PHP] Question regarding
ometimes it is
useful to refer to functions and variables..". This lead me to believe that
you could directly access VARIABLES as well as functions. I guess i was
wrong. Oh well, it just means more typing for me, which means more hours,
which means more $.
-Jared
-Original Message-
This may be a dumb question but, how can you be sure that the $this-> is
referring to the parent classes' property and not the current class. On
that note, does it really matter of which one it refers?
-Jared
-Original Message-
From: Tobyn Baugher [mailto:[EMAIL PROTECTE
That is exactly what I thought, I was just looking for some reassurance. I
have been working with C# lately and the syntax for classes is a lot more
explicit. I wanted to make sure I wasn't making a mistake on what PHP
implcitly does.
Thanks
-Jared
-Original Message-
From:
etween parent->Username and child->Username.
Thanks
-Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm not really sure what I should be looking for in the MySQL manual. I
basically want to make a column that will do math to other columns, like in
a spreadsheet program. Is it possible? And if so, what do I look for?
And if you can give me an example that would be great.
--
PHP General Mail
I need to retrive all column information from a DISTINCT query. But so
far, I only can get one column to show by using this:
SELECT DISTINCT my_column FROM my_table;
which then gives me a list of my_column information and is correct, but I
need all information from all columns. Querying this:
I have a page with multiple form submit buttons that carry different values
to do different functions and such.
...
Which works great!! However, I grow tiresome of the typical button "look",
and in my attempt to use an image instead:
failed. Is there a way to do this? I have changed
his is, or how to format it into a
readable date using either PHP or MySql?
Thanks
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
m a database and only
select one of each name from the column?
Example.
Data >Data
Data
Data
Data
Data1>Data1
Data1
Data2---->Data2
Data2
Data2
Data2
Thanks for any advice.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
ccording to the "value" of what has
been selected in the first drop-down list.
I have fill that I'm going in the right direction, but have run into a
wall. Can anyone give me some advice in doing this miraculous feat?
Thanks,
Jared
--
PHP General Mailing List (http://www.
12, 2001 4:47 PM
To: Jared Mashburn; PHP Users
Subject: Re: [PHP] Dynamic Form
PHP does not know what the user has selected in the first drop down.
You can either reload the page with the new value once the user has
selected the value for the first drop down list, and go from there, or
use
> Does anyone have any idea why this is happening and how I can avoid
> this double request?
Try checking the UserAgent for each request.
http://support.microsoft.com/default.aspx?scid=kb;en-us;293792
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
maybe slow, bit it'll be quicker than
creating arrays, and rejoining.
Not that either method will make a huge difference unless your doing thousands
of such operations.
echo sprintf('%02x %02x %02x %02x', ($dec >> 24) & 0xff, ($dec >> 16) &
0xff, ($dec >> 8) & 0xff, $dec & 0xff);
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
fwrite($f, 'test '.$n);
fclose($f);
}
$n = $basename;
$f = createFileWithUniqueName($n);
if ($f !== FALSE)
{
fwrite($f, 'test '.$n);
fclose($f);
}
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
kipedia.org/wiki/Race_condition and
http://www.dwheeler.com/secure-programs/Secure-Programs-HOWTO/avoid-race.html.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
cing a warning to occur
> (or having to suppress one), that avoids any sort of "race
> condition". It's just the way the OP is doing it is IMHO
> messy to begin with, but was obviously a solution born out of
> frustration.
If you think you have another met
> relatively bullet-proof uniqueness and no warning generation
> / suppression.
I'll take absolutely bullet-proof and handled/supressed warnings, over
relatively bullet-proof.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ur fingers and hoping
you've got a unique filename is better?
Or assume that files don't already exist in the directory?
You are going against convential wisdom about ensuring unique filenames.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> There has to be a better way. Something more elegant?
key()
http://php.net/key
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
message) {
parent::__construct(get_class($this).$message); }
}
class AnotherException extends myException
{
}
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
or try to
> sneak up on it.
>
> It ain't gonna work.
>
> 'Cuz I tried every godamn reasonable (and quite a few
> UN-resaonable) ways to do that. *
>
Hmm, document.forms['Selection'].elements['distID[]'][0].value is perfectly
valid, and should wo
remember that was specifically done was alter
mysql_pconnect() to call mysql_connect().
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
=
>
> http://www.filemaker.com/fmpxmlresult";>
> 1
This is a namespaces related I think, you need to define a the namespace in the
stylesheet, common place is on the
element together, then use the prefix
http://www.filemaker.com/fmpxmlresult"; ...
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of the posts (doesn't matter
> which order)
> >
SELECT *, 1 AS sequence FROM Table WHERE IDCategory = 4
UNION
SELECT *, 2 AS sequence FROM Table WHERE IDCategory != 4
ORDER BY sequence ASC
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ation makes no mention of this.
>
> Given this, why is the default value of arg_separator.output
> '&' and not '&'?
URLs don't have & in them.
The & is specific escaping for _only_ XML.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Looks like mysqli is the new method of talking to mysql?
> Should I be moving away from the legacy mysql_* functions?
> I'm running php5 and mysql 4.1.11 on IIS5 and Apache 2.
Why not use PDO :)
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
> On 4/20/05, Jared Williams <[EMAIL PROTECTED]> wrote:
> > Why not use PDO :)
>
> Pacific Decadal Oscillation?
>
> I'm stumped.
PHP Data Objects
http://www.php.net/pdo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> You just pretend that their shift happend on the date of the
> start time, and that's the day you associate with that shift,
> no matter when it ended.
>
> This simplifies everything else you're going to do with the
> data/queries immensely.
Just have to make sure DST doesn't cause any problems.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
up/down to the nearest X.
> I tried using
>
> y +/- (y mod x)
>
> but after I started putting in some test numbers, it didn't
> always work. For example,
>
> 37678 + ( 37678 % 500 )
>
> did not round up to the nearest 500.
>
37678 + 500 - (37678 %
e support for multiple character sets/encodings.
[I haven't used Smarty, but I'm aware a IntSmarty had
to be created to cater for things like this.]
Mozilla & IE both can perform client side transforms, using
processing instruction.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e and insert my lines part way through
then finish the last tag.
My problem is I'm looking for a and it comes up as endtag. Is
there anyway to force PHP to read the .xml file as a text file so it wont
strip off the xml tag information?
I've used fopen with fgets and fwrite, and file wit
Hi,
Has anyone got the DOM extension to load compressed XML transparently?
libxml2 apparently has this feature, but it appears not present in PHP.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Has anyone got the DOM extension to load compressed XML transparently?
libxml2 apparently has this feature, but it appears not present in PHP
build.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks these pointers have helped alot.
"Jared Sherman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I have an xml document storing some data I need. What I want to do is this:
> 1. Scan to the end of the file.
> 2. Find the closing tag.
> 3. Inse
WinXP
can attach directly to them, or use Novells' NetDrive
to map a drive letter to the WebDAV server.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
> I guess it is the missing semicolon.
>
>
> And you can write:
>
> echo ""
>
> as simply
>
> echo "$product_type"
>
I prefer
echo '', $product_type, '';
No string concatenation, or variable replace
> Using libxslt and DOM to load up an xml file and display
> within another file via 'include'.. Something is adding in
> '' is there a switch or something that
> turns this off?
in the xsl stylesheet?
Jared
--
PHP General Mailing List (http://www.php.n
ut nothing more...
>
Use $document->doctype, its DOMDocumentType object..
http://php.net/dom#dom.class.domdocumenttype
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
> On Sat, 2005-05-14 at 07:57, Jared Williams wrote:
> > > Hi,
> > > I've used loadHTML() to read a HTML file to DOM. This file starts
> > > with a string like > > Transitional//EN">
> > >
> > > Do someone know ho
> Hey,
>
> Can anyone suggest a few places where i can get some decent
> tech/programming/php news feeds?
>
> I presently have the PHP.net feed (but its not too good
> because the news does not change much in days) and I am using
> yahoo's feeds for "software", "digital music" and "internet".
8 hours) sometimes i dont get it.
>
> To be fair, taking into consideration the above categories
> please try to refrain from posting your own feed unless you
> think it would really help me.
>
> Also cc the list your answer coz it would help if not
> everyone told me to
); libxml_set_streams_context($context);
file_get_contents('http://localhost/headersave.php', FALSE, $content);
headersave.php
file_put_contents('headers.txt', var_export($_SERVER, TRUE));
if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE'])
{
header('HTTP/1.0 304 Not Modified');
exit;
}
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: Bill Hoffman [mailto:[EMAIL PROTECTED]
> Sent: 19 May 2005 00:46
> To: php-general@lists.php.net
> Subject: Re: [PHP] libxml_set_streams_context
>
>
> On May 18, 2005, at 4:10 PM, Jared Williams wrote:
>
> > Sure the ser
}
return $obj;
}
}
}
echo('');
echo(TypeAssert::string('test'));
echo('');
I don't think this is possible (see
http://marc.info/?l=php-general&m=114558851102060&w=2
). But I would LIKE for it to work (currently, the above code does
self::$types); $i++) {
$obj->{self::$types[$i]} = (bool) false;
}
return $obj;
}
}
}
echo('');
echo(TypeAssert::string('test'));
echo('');
I don't think this is possible (see
http://marc.info/?l=php-gener
27;string';
$_test = 'string';
break;
}
foreach (TypeAssert::getTypesObject() as $type => $v) {
echo("is_$type($_test) === ".
(TypeAssert::$assert->$type($test)?
'true':
'false'
x27;=>true,'ut'=>true,
'vermont'=>true,'vt'=>true,
'virginia'=>true,'va'=>true,
'washington'=>true,'wa'=>true,
'west virginia'=>true,'wv'=>true,
'wisconsin'=>true,'wi'=>true,
'wyoming'=>true,'wy'=>true
);
function States() {
}
function isValid($str,$suggest) {
if ($this->states[strtolower($str)] === true) {
$this->suggest = null;
return true;
} elseif ($suggest === true && strlen($str) > 3) {
$this->doSuggest($str);
return false;
} else {
$this->suggest = null;
return false;
}
}
function doSuggest($str) {
foreach ($this->states as $state => $val) {
similar_text(strtolower($state),strtolower($str),$result);
if ($result > 85) {
$this->suggest = $state;
}
}
if (empty($this->suggest)) {
$this->suggest = null;
}
}
function isSuggested() {
return $this->suggest;
}
}
$states = new States();
$state = 'Hawii';
if ($states->isValid($state,true) === true) {
echo("$state is a state.");
} elseif ($suggest = $states->isSuggested()) {
echo("May we suggest $suggest?");
} else {
echo("State not found.");
}
?>
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: "If the only tool you have is a hammer, you tend to see
every problem as a nail." $$
Also, Indiana and Connecticut were misspelled.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: "If the only tool you have is a hammer, you tend to see
every problem as a nail." $$
st2';
var $c = '$a$b';
var $d = "$a$b";
var $e = $a.$b;
$e is equivalent to $d, where c would print literally $a$b, since you told
the parser using the single quotes to leave the string alone.
Likewise, var $f = $a."-$b$c-".'$e'; would print test-test2
chines to be known.
It's probably a permissions thing, though.
FWIW
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: "If the only tool you have is a hammer, you tend to see
every problem as a nail." $$
Oh yeah, and tijnema has a good point:
\\compname-x\\offsite\\db\\test.dbf
Btw, what does top post mean?
On 5/23/07, Jared Farrish <[EMAIL PROTECTED]> wrote:
Other than permissions, you might be referencing the folder by the local
network mapping drive initial, instead of the actual pa
ions related issue and I'm doubting it is a
permissions issue. I have Full Control given to the system all this is on.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: "If the only tool you have is a hammer, you tend to see
every problem as a nail." $$
Win machines, I would think, would
be a MAJOR headache if you've never done it before. One essentially speaks
Polish, while the other speaks Italian.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: "If the only tool you have is a hammer, you tend to see
every problem as a nail." $$
ped addresses,
since a mapping is just a localized version of a resource name alias.
If, after determing that Apache is running with the right permissions for
the owned processes to connect to and use a network shared resource, then
it's probably an Apache UID conflict (is PHP in safe mode?)
they are not reliable for
programming purposes, IMHO.
For the advanced PHP gurus on the list, is it accurate to characterize PHP
as relying on Apache for file manipulation? Is it accurately described as:
Process Request->PHP->Apache->[File System Poof!]->Apache->PHP->Process
off wrapping your SQL commands into a
class or at least a series of functions, so that you can implement your
sanitization once and use it for all database interactions.
Google: http://www.google.com/search?q=php+sanitize+sql+statement
PHP.net: http://www.php.net/manual/en/security.database.sql-inj
ybe you manage that...
On 5/24/07, Jared Farrish <[EMAIL PROTECTED]> wrote:
I'm not sure exactly what kind of sanitization you think you're doing, but
if all you do is check to see if it's empty (empty() implements isset(),
empty() checks to see if it's set, then if it e
get off the shared
server.
Shawn Inman is a modestly-famous web designer/developer who uses MediaTemple
for his website:
http://www.shauninman.com/
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: "If the only tool you have is a hammer, you tend to see
every problem as a nail." $$
=
Incidentally, does this mean you solved the file access problems from this
thread:
http://news.php.net/php.general/255542
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: "If the only tool you have is a hammer, you tend to see
every problem as a nail." $$
webdbapps2/
This will give you most of what you're looking for. Think XAMPP for a
localhost install to run tests, and MySQL for a database backend (part of
XAMPP):
http://www.apachefriends.org/en/xampp.html
It will take time. Good luck!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
file permissions extended through primary
processes (such as Apache using an executable)... The whole apache GUID mess
seems like cryptic middle ages eye gouging...
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: "If the only tool you have is a hammer, you tend to see
every problem as a nail." $$
introspection. Useful for $_GET, $_COOKIE,
$GLOBALS, $_SERVER, etc...
p.s.: Could you use descriptive subjects; include doesn't really say
much...
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: "If the only tool you have is a hammer, you tend to see
every problem as a nail." $$
ent animals, but knowing how each works at
least superficially can help later.
What I suspect you need is a book on LAMP (www.oreilly.com).
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: "If the only tool you have is a hammer, you tend to see
every problem as a nail." $$
e php script upload file mysql database
You can thank me later.
*snap*
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: "If the only tool you have is a hammer, you tend to see
every problem as a nail." $$
omma.
Well, I got a chuckle. :D
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: "If the only tool you have is a hammer, you tend to see
every problem as a nail." $$
effort on this
list in the past.
Please start a new thread with a more appropriate title.
Thanks!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: "If the only tool you have is a hammer, you tend to see
every problem as a nail." $$
box to show up so I can delete
multiple people at one time :) But I'm still learning about that.
I sure hope you're testing on test data, and not live data...
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: "If the only tool you have is a hammer, you tend to see
every problem as a nail." $$
whatnot, and is then used as an
include() file. This way, the data is rebuilt each go around, but the
overhead is pushed to another machine, similar to a SOAP service (which is
another...). Pass a variable id to the CLI script...
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslo
Is there a valid $id being passed through a query ($_GET) variable, like
so?:
http://www.filecircus.com/somewhere/outthere/gimme.php?id=badphoto103
What happens when you click on that?
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: "If the only tool you have
an/JS/lem.json.js
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: "If the only tool you have is a hammer, you tend to see
every problem as a nail." $$
h would be the
best
for me
WAMPP makes apache and php installation stupid easy (MySQL too, but you
don't seem to need it). Maybe, you might install WAMPP, uninstall MySQL, and
install PostgreSQL... Never done it, but with some fiddling, it should work.
--
Jared Farrish
Intermediate Web Devel
alues that are not replaced
($query=Array('cID'=>51,'doesnotexistyet'=>'completelynewvalue'), for
instance). Also, the above is an example; there are certainly many other
ways to do what is done above (such as replacing the last foreach loop with
an implode(
is is called pagination, and is well-discussed and documented on the web:
http://www.google.com/search?q=php+pagination
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: "If the only tool you have is a hammer, you tend to see
every problem as a nail." $$
'curly';
$array[] 'larry';
// Is equivalent to ~
$array = Array();
array_push($array, 'moe');
array_push($array, 'curly');
array_push($array, 'larry');
When you add a numerical array in php, it is added to the stack as a new
item, or push. Essenti
1 - 100 of 176 matches
Mail list logo