Search:
Type: Posts; User: Zetas
Search:
Search took 0.03 seconds.
-
April 17th, 2008, 06:00 AM
.htaccess files can be used to set virtually any apache directive (provided you don't have AllowOverride set to false for your directory definition in the main apache conf) this also goes for any mod...
-
April 17th, 2008, 05:51 AM
$handle = @fopen("$file_to_read", "r");
clearstatcache();
ignore_user_abort(true);
if ($handle) {
$buffer = fread($handle, 4096);
$filename = 'file_to_write.txt';
if...
-
December 24th, 2007, 02:16 AM
Besides the fact that your code doesn't seem to parse .bmp files, i agree with Peej, you'd need to provide the exact browser error your getting and what browser you got it in. As well as the settings...
-
October 28th, 2007, 06:13 AM
The shebang line at the top (#!/bin/bash) tells the system what interpreter it should use to parse your code.
For example, in different languages you'd switch that out:
Bourne again shell:...
-
October 28th, 2007, 06:00 AM
The best PHP ide i've ever found is called Zend Studio, its made by the guys who currently maintain php itself. Its not free, but you can download the 30 day trial and see if you like it. It has...
-
October 28th, 2007, 05:56 AM
Well he said shell scripting, however still need to know what shell.. bash, sh, csh?
Also, i'd need more information to help you, who is setting the var? Are you reading from standard in?
...
-
October 28th, 2007, 05:48 AM
It's generally not a good idea to set a boolean session flag if the user is logged in as this is very easy to hack and overwrite with one look at thier session cookies. Instead, what I do, is assign...
-
August 24th, 2007, 10:24 PM
Thats definitly an interesting way to go about it, however there are much better tools to accomplish what your looking for, try this:
#!/bin/bash
...
-
August 24th, 2007, 10:05 PM
Maybe it knows something you dont? It seems to me the fastest way from 1 to 3 is 1-3 not 1-2-3, why must you go through 2?
Php is way more advanced then our feeble minds can comprehend, it bends...
-
August 24th, 2007, 09:47 PM
If your using linux you could do something like:
<?php
$now = date("mdY");
echo "Database:\n";
$db = trim(fgets(STDIN));
if ($dbselect = mysql_select_db($db)) {
-
February 20th, 2007, 08:00 AM
I'm glad you got this sorted out. In the future though, it may be helpful to vardump the entire server array. Sometimes browsers can alter 1 or more items in the server array that refrence client...
-
February 4th, 2007, 08:50 PM
Nice! Zend has a 30 day trial and after that i think you can get the basic version for $100 or $200. I made my company buy me the $300 pro version though :P
-Dave
-
February 4th, 2007, 08:49 PM
Like bubu said, your post is very vague. To help us you need to be more specific. However, i think your talking about moving e-mail messages from one box?(mail folder? or one persons mail box to...
-
February 4th, 2007, 08:46 PM
No problem, I hope everything works well for you.
-
February 4th, 2007, 10:41 AM
Basic settings like your db info should definitly be stored in a file of some sort. However, user settings (i.e. theme, colors, custom blocks, etc) can be stored as objects in a database, this is the...
-
February 4th, 2007, 10:27 AM
if its always going to be <div class="g">....</div> the way i would do it (because regex's are ebil) is write a function like this:
function cleanDiv(&$html) { //pass the arg as refrence so...
-
February 4th, 2007, 10:02 AM
I use an IDE like Zend Studio that allows me to edit files on the remote server, no more mess of uploading after you make changes. This way is actually safer for multiple developers on 1 system.
...
-
January 9th, 2007, 08:48 PM
Ok, so what your saying is, the customer picks out the items he wants (adds items to cart), then once he clicks "checkout" you want to send them to your CCM to enter his/her CC info. exp date, etc...
-
January 8th, 2007, 05:41 PM
Javascript is fine for this use of just submitting an html form. Sessions are safer then open html but there is no way to transfer sessions to the third party credit card merchant. Most places either...
-
January 8th, 2007, 05:29 PM
That seems like a cool way to do it. Personally i haven't needed such elaborate error detection. Usually i can tell where the error is coming from by seeing the query or the error itself hence why my...
-
January 8th, 2007, 12:00 PM
What else would you like it to say? In that particular example all errors would occur inside the function. Should it say the line number of the function call in the parental file? If thats the case...
-
January 8th, 2007, 09:43 AM
Try taking the first forward slash off:
Change:
<img src="/img/ftr.gif" id="ftr" alt="" />
to:
-
January 5th, 2007, 02:21 PM
All of this is so interesting, looking around this forum ive had my first opportunity to actually see some assembly code, its pretty wild. I'm moving from the top of the pyramid to the bottom, from...
-
January 3rd, 2007, 02:16 PM
Yea, sorry im not sure what to tell you. This is one of the reasons i stay away from windows, the networking profile is very difficult to debug many things could be blocking or fudging up your...
-
January 2nd, 2007, 11:58 PM
Peej is right, you probably need to authenticate.
You could search for such a function, but it would be fairly easy to write your own, for example:
function...
|
Click Here to Expand Forum to Full Width
|