Hi there!
How do I copy a file from an URL to my server?
I url fopen wrappers is NOT enabled, and I'm not allowed to do that.
/G
@varupiraten.se
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 2005-02-10
--
PHP Ge
HP General List
Ämne: Re: SV: SV: SV: [PHP] Copy? - What am I doing wrong???
Jochem Maas wrote:
> Wiberg wrote:
>> Hi there!
>>
>> fgtcvs works fine, but there's another problem now... I run updates to
>> the
>> db for each row (every row is unique) and mu
Hi there!
A little off-topic but what the heck (it's a more MySQL - related question)
Is 197* a numbertype field?
Try maybe $query= "SELECT * FROM my_table WHERE Year LIKE '197*'";
/G
@varupiraten.se
-Ursprungligt meddelande-
Från: David Freedman [mailto:[EMAIL PROTECTED]
Skickat: den 2
hi there!
i guess you know a simple solution to convert the string
NH01 into 1
NH02 into 2
..
...
NH13 into 13
and so on
/Gustav Wiberg
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.799 / Virus Database: 543 - Release Date
Hi
Is there any way of getting the clients screenheight in PHP? (or do I have
to do it in Javascript)
/Gustav Wiberg
@varupiraten.se
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.802 / Virus Database: 545 - Release Date: 2004
Hi there!
I'm trying to figure out some code I haven't done myself, but I don't get
what could
be wrong. Check this code out:
the coder says he when he import files, he gets a result that the line ends
at wrong positions... Is it 4096 that is wrong?
/G
@varupiraten.se
$file = $rad[url_productl
Hi there!
Anyone used PRADO? What's YOUR opinion? *curious*
http://www.xisc.com/
/G
@varupiraten.se
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.818 / Virus Database: 556 - Release Date: 2004-12-17
--
PHP General Mailing Li
Hi there!
I have a thougt of making my site OpenSource. It's a webshop, so I'm
unsecure about the
security... Maybe someone will use the sourcecode for malicious attacks
instead of making
the code better? What are your thoughts about this? *curious*
/G
@varupiraten.se
--
No virus found in this ou
Hi there!
Right now I'm creating a form that saves the text from a textarea to an
array. That doesn't seem to be any problem.
But when I save the contents, I get extra / ?
The code looks like this:
-
//Which main product category is to treat?
//
if (isset($_REQUEST["reqID
AFAICS
What does that mean? *feeling stupid*
/G
@varupiraten.se
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.7 - Release Date: 2004-12-30
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
Hi there!
I'm a total newbie at connecting to diffrent servers, and b2b and such stuff
, so I guess this is a simple question for you guys...
Another company wants me to access their productinfo thorugh URL, something
like this:
https://www.anothercompany.com/returnValueOfProductID=1043
If I acc
Hi!
I wonder if I can optimize following code (or do something better) below?
It works fine when about 3.000 rows exists in the textfile, but when it gets
to 10.000 rows then it will get a session timeout. (or internal server
error)
ARTICLENR: $articleNumberManufacturer";
//echo "SALDO:
Hi!
when safe mode is one, i can't use set_time_limit. Is there any workarounds?
why is it so that when I echo something to the screen then I can run the
script for a longer time, than if I don't have echo? Don't get the logic...
/G
@varupiraten.se
--
Internal Virus Database is out-of-date.
Che
Hi there!
What's the point of doing that? The PHP-codes are well protected if they are
on a well
configured server.
/G
@varupiraten.se
- Original Message -
From: "shabanip" <[EMAIL PROTECTED]>
To:
Sent: Saturday, February 26, 2005 4:43 PM
Subject: [PHP] source code protection
is there
Hi there!
I've just installed Apache on a new computer. (just for testing)
It's Windows XP. I've then installed PHP and it says that Apache could be
not configured automatically.
Newbies question as hell probably but here it goes:
I can access my Apache-server, I have the document-root to c:\webb
Hi there!
Thanx! :-)
I hope I can solve this myself now... :-)
/G
@varupiraten.se
- Original Message -
From: "dan" <[EMAIL PROTECTED]>
To:
Sent: Monday, February 28, 2005 11:23 PM
Subject: Re: [PHP] Apache and PHP
Gustav Wiberg wrote:
Hi there!
I've just inst
Hi there!
I have built my site into frames.
I want to transfer a session-variable from my left frame to my right
frame... How do I do this best? Thoughts?
/G
@varupiraten.se
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there!
Thanx a lot, i thought it was like that, but I wasn't sure
/G
@varupiraten.se
- Original Message -
From: "Chris W. Parker" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>; "PHP General"
Sent: Friday, April 15, 2005
Hi there!
I guess this is off-topic? but I want to know if this is possible. (If
there's anyone out there that have a solution, I would appreciate it
though)
I want to know if there is anyway of showing tables in PHP in an order
like this in a single SQL-statement...
Table is like this:
IDCate
AHA.. Thanx :-)
/Gustav
- Original Message -
From: "John Mertic" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Cc: "Aaron Kenney" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, August 24, 2007 9:47 PM
Su
Hi!
Why is it so that I get this error. I'm using Windows Integrated
authorization-method for actual webb I'm testing on.
Notice: Undefined index: PHP_AUTH_USER in C:\www\utveckling\username.php on
line 2
?
Best regards
/Gustav Wiberg
--
PHP General Mailing List (http://w
Hi!
Thanx!
I figured it out. The username wasn't in server-variable PHP_AUTH_USER but
in AUTH_USER
Best regards
/Gustav Wiberg
- Original Message -
From: "Stut" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Cc: "PHP Ge
7. What could be the problem?
Best regards
/Gustav Wiberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Should it be larger than 5.1.0 ? Is
that why the authentication is not working automatically? (without logging
in with username and password at first)
I'm trying with IE6 and IE7...
Best regards
/Gustav Wiberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
No it doesn't seem to work locally either (I haven't tested myself, but a
working-friend did)
Best regards
/Gustav Wiberg
- Original Message -
From: "Stut" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Cc: "PHP
Hi!
Ok. Of course Why didn't I think of that? Thanx! :-)
Best regards
/Gustav Wiberg
- Original Message -
From: "Stut" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Cc: "PHP General"
Sent: Monday, August 27, 2007 8:59 PM
Hi!
Yes, a single sign-on it is... It doesn't work together with Windows (and
PHP) you mean?
Best regards
/Gustav Wiberg
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "Jay Blanchard" <[EMAIL PROTECTED]>; "Gustav Wiberg&q
Hi!
Thnank you for your input, but I used AUTH_USER-server variable instead of
PHP_AUTH_USER and that did the trick! :-)
Best regards
/Gustav W iberg
- Original Message -
From: "Richard Lynch" <[EMAIL PROTECTED]>
To: "Stut" <[EMAIL PROTECTED]>
Cc: &
ot doing advertising here, I'll skip the name :-)
I can't seem to find any place on the net where you can discuss Open
Source-related questions in general???
Best regards
/Gustav Wiberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hat-function located at IRC, and I don't want to install IRC.
, but no mailinglists...
(or else I'm blind)
Best regards
/Gustav Wiberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ork.
tested diffrent types..
$str = '';
</pre><tt>$str = 'var uri = '<a rel="nofollow" href="http://impse.tradedoubler.com/imp/js/16350344/1122503">http://impse.tradedoubler.com/imp/js/16350344/1122503</a>?' +
</tt><tt>ne
Hi there!
I have created a script the generates random pictures...
With this above script the same picture can be shown twice. Is there any
smart way of avoiding this without having to rely on cookies/sessionids?
Best regards
/Gustav Wiberg
Stammis Internet - http://www.stammis.com
7;m sure others have had
similar questions and just havn't asked.
-TG
= = = Original message = = =
Hi there!
I have created a script the generates random pictures...
With this above script the same picture can be shown twice. Is there any
smart way of avoiding this without having to
- Original Message -
From: "tedd" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>; "PHP General"
Sent: Monday, December 04, 2006 4:15 PM
Subject: Re: [PHP] Random pictures - not twice
At 11:20 PM +0100 12/3/06, Gustav Wiberg
Hi there guys!
Where is a good startpoint for learning XML Reader on a very, very basic
level? (I appreciate links)
Is RSS a technique for retrieving XML? I can't clue the pieces together...
/G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
- Original Message -
From: "Weber Sites LTD" <[EMAIL PROTECTED]>
To: "'Gustav Wiberg'" <[EMAIL PROTECTED]>; "'PHP General'"
Sent: Saturday, February 25, 2006 7:37 PM
Subject: RE: [PHP] RSS / XML
Here are a
Hi there!
I've found out that I can use expat XML, but I can't figure out HOW to
use... it seems simple, but I tried and can't figure it out...
I'd like to get retrieve info from
http://www.frisim.com/frisim/servlet/rss?searchString=google
and convert it to html...
I've read a lot a of text
Hi there guys!
I have used a date-field and a time-field in a mysql-database.
How should I update these fields through php?
This is my code now (it works fine locally with data on a win-machine, but
not on Linux at my webhotel - Time doesn't work at all)
function safeQuote($value)
{
// Str
Hi
Thanx for your input about date & time...
Here's some functions that worked for me after some searching...
function currenttime() {
$today = getdate();
$ithours = $today["hours"];
if (intval($ithours)<10) {
$ithours = "0" . $ithours;
}
$itminutes = $today["minutes"];
if (intval($ithours
- Original Message -
From: "tedd" <[EMAIL PROTECTED]>
To: ; "Gustav Wiberg" <[EMAIL PROTECTED]>
Sent: Tuesday, February 28, 2006 4:17 PM
Subject: Re: [PHP] About date & time...
>Thanx for your input about date & time...
Here's some f
- Original Message -
From: "tedd" <[EMAIL PROTECTED]>
To: ; "Gustav Wiberg" <[EMAIL PROTECTED]>
Sent: Tuesday, February 28, 2006 4:17 PM
Subject: Re: [PHP] About date & time...
>Thanx for your input about date & time...
Here's some f
- Original Message -
From: "Grant Young" <[EMAIL PROTECTED]>
To:
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, February 28, 2006 11:25 PM
Subject: Re: [PHP] About date & time...
Hi Gustav.
I'm a swede, and I we use hours 0 - 24.
8 pm = 20 for us.
9 pm = 21 for us
10 pm = 22...
and so
- Original Message -
From: "tedd" <[EMAIL PROTECTED]>
To: ; "Gustav Wiberg" <[EMAIL PROTECTED]>
Sent: Tuesday, February 28, 2006 11:34 PM
Subject: Re: [PHP] About date & time...
Gustav:
I'm a swede, and I we use hours 0 - 24.
Well... I
Hi guys!
Anyone knows of something like this, but for free?
http://www.webscriptsdirectory.com/PHP/E-Mail-Systems/Php-Newsletter-Script-L1237/
All I want to do is to send "a html mail" to all my members at
http://www.stammis.com/ (swedish site for pedigrees). It would be a
informative letter t
- Original Message -
From: "Kevin Davies - Bonhurst Consulting" <[EMAIL PROTECTED]>
To: "'Jim Moseby'" <[EMAIL PROTECTED]>; "'Gustav Wiberg'"
<[EMAIL PROTECTED]>; "'PHP General'"
Sent: Wed
- Original Message -
From: "Marcus Gnaß" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Sent: Wednesday, March 01, 2006 5:24 PM
Subject: Re: [PHP] About date & time...
Gustav Wiberg schrieb:
function currenttime() {
$t
- Original Message -
From: "Marcus Gnaß" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Sent: Wednesday, March 01, 2006 5:29 PM
Subject: Re: [PHP] Mailto members..?
Gustav Wiberg schrieb:
while ($dbArray = mysql_fetch_array($querys)) {
- Original Message -
From: "Jim Moseby" <[EMAIL PROTECTED]>
To: "'Gustav Wiberg'" <[EMAIL PROTECTED]>; "Marcus Gnaß"
<[EMAIL PROTECTED]>
Cc: "PHP General"
Sent: Wednesday, March 01, 2006 7:29 PM
Subject: RE: [PHP
Here's my code
if (strtoupper(substr(PHP_OS,0,3)=='WIN')): $eol="\r\n"; elseif
(strtoupper(substr(PHP_OS,0,3)=='MAC')): $eol="\r"; else: $eol="\n"; endif;
//Message Subject
$emailsubject="Stammis Internet nyhetsbrev " . date("Y/m/d H:i:s");
//Message Body
ob_start();
require("emailbody.php"
- Original Message -
From: "Jim Moseby" <[EMAIL PROTECTED]>
To: "'Gustav Wiberg'" <[EMAIL PROTECTED]>; "Jim Moseby"
<[EMAIL PROTECTED]>
Cc: "PHP General"
Sent: Wednesday, March 01, 2006 9:17 PM
Subject: RE: [PHP]
- Original Message -
From: "John Nichel" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Sent: Wednesday, March 01, 2006 9:57 PM
Subject: Re: [PHP] internal error when mailing...
Gustav Wiberg wrote:
Here's my code
if (strtoupper(su
Hi there!
What's wrong here??
0) {
?>
Visa telefonbilder för :
0) {
$dbNameManufacturer = $dbArray["nameManufacturer"];
?>
Visa telefonbilder för :
Alla telefonbilder i arkivet:
height="130">
I have 5 posts in the table, but the images shown are only four! Why?
/G
--
PH
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
Sent: Thursday, March 02, 2006 11:05 PM
Subject: RE: [PHP] Only 4 of 5...
[snip]
I have 5 posts in the table, but the images shown are only four! Why?
[/snip]
Are you counting starting with 1 or 0?
Don't unders
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
Sent: Thursday, March 02, 2006 11:15 PM
Subject: RE: [PHP] Only 4 of 5...
[snip]
while ($dbArray = mysql_fetch_array($querys)) {
$dbIDPic = $dbArray["IDPic"];
$dbPicNameSmall = $dbArray["picNameSmall"];
- Original Message -
From: "Thorsten Suckow-Homberg" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>; "PHP General"
Sent: Thursday, March 02, 2006 11:13 PM
Subject: Re: [PHP] Only 4 of 5...
Because of this:
$dbArray = my
- Original Message -
From: "John Nichel" <[EMAIL PROTECTED]>
To: "PHP General"
Sent: Friday, March 03, 2006 2:30 AM
Subject: Re: [PHP] Only 4 of 5...
Gustav Wiberg wrote:
Hi there!
What's wrong here??
You're pulling the first row here
i
- Original Message -
From: "Rob" <[EMAIL PROTECTED]>
To: "Andreas Korthaus" <[EMAIL PROTECTED]>
Cc:
Sent: Friday, March 03, 2006 4:43 PM
Subject: [PHP] Re: DOMElement::setAttribute() manual example question
Andreas Korthaus wrote:
Hi!
I've a question regarding the example in DOMElem
- Original Message -
From: "Mark Steudel" <[EMAIL PROTECTED]>
To:
Sent: Friday, March 03, 2006 7:46 PM
Subject: [PHP] Coding Practice: Use global $var or pass in by refernce
I was wondering what the general rule on using the global driective versus
passing in a variable by reference,
- Original Message -
From: "Rob" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Cc: "Andreas Korthaus" <[EMAIL PROTECTED]>;
Sent: Friday, March 03, 2006 8:04 PM
Subject: Re: [PHP] Re: DOMElement::setAttribute() manual exam
- Original Message -
From: "Andreas Korthaus" <[EMAIL PROTECTED]>
To: ; "Gustav Wiberg" <[EMAIL PROTECTED]>
Sent: Friday, March 03, 2006 8:53 PM
Subject: Re: [PHP] Coding Practice: Use global $var or pass in by refernce
Hi Gustav!
Gustav Wiberg wrot
Hi there!
I wonder as a swedish PHP-programmer if there are any sites like
sourgeforge.net but in swedish?
/G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Original Message -
From: "tedd" <[EMAIL PROTECTED]>
To:
Cc: "benifactor" <[EMAIL PROTECTED]>; "Murray @ PlanetThoughtful"
<[EMAIL PROTECTED]>; "Anthony Ettinger" <[EMAIL PROTECTED]>
Sent: Saturday, March 04, 2006 3:14 PM
Subject: Re: [PHP] Mysql Rows
planetthoughtful wrote:
Bu
- Original Message -
From: "tedd" <[EMAIL PROTECTED]>
To:
Cc: "Gustav Wiberg" <[EMAIL PROTECTED]>; "Robert Cummings"
<[EMAIL PROTECTED]>
Sent: Sunday, March 05, 2006 12:58 AM
Subject: Re: [PHP] Mysql Rows
Hi:
Gustav said:
No, may
his server.
???
If this is not a question that suits the list, please guide me tips where to
look...
Best regards
/Gustav Wiberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Original Message -
From: "Shaunak Kashyap" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>; "PHP General"
Sent: Tuesday, March 07, 2006 8:05 PM
Subject: RE: [PHP] What am I missing?
It is more of an HTML/HTTP question
?
John
Hi there!
Do you have to name it as favourite[]? Can't you name it as "just" favourite
(without brackets)
If you name it as just favourite, at least in Javascript you could loop
through favourite as an array. I don't know if this works in PHP as well.
Best r
Hi guys!
I have a code-snippet here:
while ($dbArray = mysql_fetch_array($querys)) {
$dbIDLevel1 = $dbArray["IDLevel1"];
$dbLevel1Name = $dbArray["level1Name"];
$dbFactsLevel1Name = $dbArray["factsLevel1Name"];
$dbFactsPictureLevel1Name = $dbArray["factsPictureLevel1Name"];
?>
align="top" wid
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>; "PHP General"
Sent: Tuesday, March 28, 2006 10:00 PM
Subject: RE: [PHP] Div-element at same vert. position?
[snip]
I
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>; "PHP General"
Sent: Tuesday, March 28, 2006 11:52 PM
Subject: RE: [PHP] Div-element at same vert. position?
[snip]
A. The is a CSS ques
Hi guys!
If I've got this right, there will be some kind of tag that is saved in a
picture (hidden). Is it possible to retrieve this information from PHP and
what it is called? Any ideas / suggestions would be approciated!
/Gustav Wiberg
--
PHP General Mailing List (http://www.ph
- Original Message -
From: "Chris" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Cc: "PHP General"
Sent: Tuesday, April 04, 2006 4:14 AM
Subject: Re: [PHP] ID-tags from picture?
Gustav Wiberg wrote:
Hi guys!
If I've got
Hi there!
Is there any way of converting a jpg to gif and change dpi on the fly?
Best regards
Gustav Wiberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
omething I think... :-)
I'm using PHP 4.x (don't know exactly the vers.nr, but I can search for it
if it is of importance)
The code down below is a function for uploading a picture. The part I want
help with is after the comment: //What should/could I do here?
Best regards
Gustav Wiber
Hi there!
If I understand this right, I must have adminstration rights for installing
Magic Wand...
The problem is that my host doesn't have any support for this application.
(It's not MY server)
Is there any workaround?
Best regards
/Gustav Wiberg
- Original Message -
might be better
than nothing.. The important thing is not to RELY on the Javascript-code.
Best regards
/Gustav Wiberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Original Message -
From: "Chris" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Cc: "PHP General"
Sent: Monday, May 15, 2006 9:42 AM
Subject: Re: [PHP] Copy of image -> smaller
Gustav Wiberg wrote:
Hi there!
When I
- Original Message -
From: "Stut" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Cc: "PHP General"
Sent: Monday, May 15, 2006 12:50 PM
Subject: Re: [PHP] Check before uploading
Gustav Wiberg wrote:
Just a thought. Someone pos
- Original Message -
From: "Rabin Vincent" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Cc: "PHP General"
Sent: Monday, May 15, 2006 1:35 PM
Subject: Re: [PHP] Copy of image -> smaller
On 5/15/06, Gustav Wiberg <[EMAIL
- Original Message -
From: "Stut" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Cc: "PHP General"
Sent: Monday, May 15, 2006 10:32 PM
Subject: Re: [PHP] Check before uploading
Gustav Wiberg wrote:
From: "Stut" <[
-online-system... (the customer uses IE)
When I delete the file in code down below, the picture is not shown (I guess
because the browser hasn't rendered out all info?)
If you want more code, tell me :-)
Best regards
/Gustav Wiberg
$fileName = "pictures/products/$dbIDProduct1" .
Hi
I wondew which range the mktime has? (in digits)
In my case it always start with 1.
something like
1147951344
Is this ALWAYS TRUE (that it would start with 1)
Best regards
/Gustav Wiberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Original Message -
From: "Barry" <[EMAIL PROTECTED]>
To: ; "Gustav Wiberg" <[EMAIL PROTECTED]>
Cc: "PHP General"
Sent: Thursday, May 18, 2006 1:45 PM
Subject: [PHP] Re: Range mktime?
Gustav Wiberg schrieb:
Hi
I wondew which range the mk
Hi everyone!
I've been trying to get mime_magic to work with PHP 5.0.2, but it seems to
complain about the magic file being valid. I've tried both with the Apache
2.0.52 version of "magic" and with the PHP5 Win32 version of "magic.mime",
but it still says that they're invalid.
Please, does anyo
s not a big matter how long
the script takes. (As long as the server can do other things at the same
time)
(In production environment, the php-script is on Apache and Linux (if it
matters))
Best regards
Gustav Wiberg
@varupiraten.se
Here is my script:
";
//Close file for writing
Hello there!
How do i get a fast count of a recordset in php?
Look at this code:
$sql = "SELECT COUNT(IDVara) cn FROM tbvara WHERE Varunamn LIKE
'$checkLev%'";
$querys = mysql_query($sql);
//Count products in db
//
$dbArray = mysql_fetch_array($querys);
$nrOfProducts = $dbA
Hi again!
Thanx!!! I think this will help a lot!!!
/mr G
@varupiraten.se
- Original Message -
From: "TalkativeDoggy" <[EMAIL PROTECTED]>
To: "Sebastian" <[EMAIL PROTECTED]>
Cc: "Gustav Wiberg" <[EMAIL PROTECTED]>;
Sent: Sunday, Augus
Hi there!
Is there any way of doing this:
1. User may vote 1-10 on a joke on a site X.
2. Same User may NOT vote again dependent of the computer...
I know this works if I check IP-adress, but because some users doesn't have
a fixed ip-adress... it won't work correct.
Thought of getting a mac
hi there!
Is it possible in PHP to retrieve value from one domain to another than my
own?
Something like this:
Other domain: function getValueForMp3Player()
My domain: $price = getValueForMp3Player('Inno AX VB4393') //retrieves value
from other domain
/G
@varupiraten.se
--
PHP General
rse I have to know the implemenation
of the code that inwarehouse.se has given to varupiraten.se
Do you understand what I'm trying to do? :-)
/G
@varupiraten.se
- Original Message -
From: "Rory Browne" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EM
se
?
/G
@varupiraten.se
- Original Message -
From: "Jasper Bryant-Greene" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, August 23, 2005 9:47 PM
Subject: Re: [PHP] possible to get a function from another domain
Gustav Wiberg wrote:
Is it possible in PHP to retrieve value from one
Hi there!
Thanx for the help!
And everybody else that helped me with the solution of course! :-)
/G
@varupiraten.se
- Original Message -
From: "Rory Browne" <[EMAIL PROTECTED]>
To: "Jim Moseby" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, August 23, 2005 10:21 PM
Subject: Re: [PHP] possib
Is it possible to retrieve (view) the computers name from the client in PHP?
/G
@varupiraten.se
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there!
Is it possible to get (retrieve) the computername of the client? I just want
the name for comparing...
/G
@varupiraten.se
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there!
How do I do a sort in PHP where a column in a db must be two other columns
divided...`?
I tried to use DIV-function in MySQL but it doesn't seem to work ): Of
course, I can hard-code it, but i want this value because of sorting ten
largest of the resultvalue. ($gradeJoke). Ten best
Hi there!
Is there any function in PHP that gives an ID from a MySQL-db based on which
position the record has in the table?
Let's say, there's a table like this:
1. Record1 ID 33
2. Record2 ID 76
3. Record3 ID 100
If I know position 2, I want to get ID 76. Is the only way to loop through
Hi
Simple question I guess..
How do I set a cookie so it will never expire? (I don't want it to expire)
/G
@varupiraten.se
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there!
Try using ob_start() and then set sessions, and then user HEADER...
http://se.php.net/manual/sv/function.ob-start.php
/G
@varupiraten.se
- Original Message -
From: "Philip Hallstrom" <[EMAIL PROTECTED]>
To: "Jasper Bryant-Greene" <[EMAIL PROTECTED]>
Cc: "php list"
Sent: Th
Hi again!
Is this impossible to do in PHP?
Dim objNet
On Error Resume Next
'In case we fail to create object then display our custom error
Set objNet = CreateObject("WScript.NetWork")
If Err.Number <> 0 Then'If error occured then display
notice
MsgBox "Don't be Shy." & vbC
Hi there!
Are you using rmdir?
http://se2.php.net/manual/en/function.rmdir.php
/G
@varupiraten.se
- Original Message -
From: "James" <[EMAIL PROTECTED]>
To:
Sent: Friday, September 02, 2005 6:45 PM
Subject: [PHP] deleting files on Windows...permissions issue
I have a php script th
Hi there!
Anyone that has an easy solution to this?
I have a string filled with content. A lot of content is before Jumping Jack
flash
I want the $content - string to start at Jumping Jack flash
Is there any smart way of doing this?
/G
@varupiraten.se
--
PHP General Mailing List (http://ww
1 - 100 of 207 matches
Mail list logo