Search found 36 matches

by Hurkle
Tue Feb 25, 2003 8:20 am
Forum: PHP General
Topic: post-nuke??? or php-forum
Replies: 0
Views: 928

try here..

[url]
http://www.postnuke.com
[/url]
by Hurkle
Wed Feb 19, 2003 1:44 pm
Forum: PHP General
Topic: Questions for a report
Replies: 9
Views: 2925

Let me take a quick sec to go into that a little more.. One of our clients had a crummy access database that could only support 3 or 4 of their users at a time, in an office with 25-30 people. They wanted something web based. We gave them an ASP web database with an IIS, SQL server backend. This wor...
by Hurkle
Wed Feb 19, 2003 1:24 pm
Forum: PHP coding => General
Topic: A very basic and easy prob to solve
Replies: 5
Views: 2007

First of, if you're talking about the book I think you are, http://a1055.g.akamai.net/f/1055/1401/5h/images.barnesandnoble.com/images/4250000/4254002.gif it should be burned, it's a huge waste of time and money. First time in 8 years I've been dissapointed by Sams. Second of all, I would suggest nam...
by Hurkle
Wed Feb 19, 2003 1:07 pm
Forum: PHP General
Topic: Questions for a report
Replies: 9
Views: 2925

Howdy, happy to take a sec to answer these. About me, in brief - working with php for 3 months, doing full time web application development for 2 years, IT field for 5 years, casual programmer for 26 years. 1. Where do you think are the best uses of PHP? PHP is great for building web sites where the...
by Hurkle
Wed Feb 19, 2003 7:58 am
Forum: PHP General
Topic: A Tricky PHP/HTML Question
Replies: 2
Views: 1570

As far as getting the screen resolution, there's no automatic way that I know of that doesn't involve client side scripting (pretty much as stated above) I make a point of avoiding client side scripting like the plague. One way to get this info relatively quickly is to let the user select screen res...
by Hurkle
Wed Feb 19, 2003 7:49 am
Forum: PHP General
Topic: random ad banners in PHP
Replies: 5
Views: 2315

It looks like the approach you're using is just about right. I suspected that you might not be getting true randomness, as you're not seeding the rand() function. I did a quick search, and found this post which explains one thing to try quite elegantly. Rather than pasting the text, I'll just give y...
by Hurkle
Tue Feb 18, 2003 4:19 pm
Forum: PHP General
Topic: forms
Replies: 6
Views: 2325

Hey, Paul Knapp, just so you know, PejOne gave you exactly the reference you needed. You have to dig a little deeper into the link he gave you, but if you do, you'll find that the fsockOpen function is actually an excellent way to do what you asked. As a matter of fact, I would reccomend this approa...
by Hurkle
Tue Feb 18, 2003 4:13 pm
Forum: PHP General
Topic: Need help altering a login script
Replies: 2
Views: 1256

to address the original question, I would suggest having a user database (you probably already do..) and doing something roughly like this.. in your user table, have fields for the username, password, and start page (plus whatever else) once they've gone to the html login form, and (hopefully) enter...
by Hurkle
Tue Feb 18, 2003 4:02 pm
Forum: PHP General
Topic: Help with forms
Replies: 2
Views: 1348

Man, I really hope that someday plain vanilla HTML will give us either a textArea with a maxlength property, or a text input with a multiline option. Having 2 choices for basic text entry, and nothing that has the best of both, is a pain in the tookus.
by Hurkle
Tue Feb 11, 2003 3:21 pm
Forum: PHP General
Topic: Please help me with "MAXLENGTH="
Replies: 8
Views: 2552

I don't know of any way to do that, without using client side script, such as vbscript or javascript. I no longer use client side script at all, ever, as it was created by the devil to plague me.. My reccomendation would be to ditch the text type input, go back to a text area, and set the data type ...
by Hurkle
Tue Feb 11, 2003 3:09 pm
Forum: PHP General
Topic: Please help me with "MAXLENGTH="
Replies: 8
Views: 2552

no prob. spelling gets me every time. As we speak, I'm working on a huge law office database, and I finally learned to use 'lawyer' instead of 'attorney', as I always spell it wrong. What type of thing are you working on?
by Hurkle
Tue Feb 11, 2003 2:28 pm
Forum: PHP General
Topic: Please help me with "MAXLENGTH="
Replies: 8
Views: 2552

well, textareas don't have the maxlength property, whereas text type inputs do. Your code looks good to me, altho you might have a mispelling that will give you problems. make sure that attorney is spelled the same throughout your code, it's not in what you posted.

hope that helps..
by Hurkle
Tue Feb 11, 2003 11:44 am
Forum: PHP coding => General
Topic: php and searches?!?
Replies: 0
Views: 841

I hate to tell you this, but if you can't use mySql on your webserver, you're going to have a really tough time making this work. What is it that you want to be able to search, and what format is it in now? Do you have stuff in text files, or what? Let us know and we'll see if we can figure somethin...
by Hurkle
Tue Feb 11, 2003 9:42 am
Forum: PHP coding => General
Topic: Advanced php forms??
Replies: 3
Views: 1237

I believe that if you want things like that to happen when you click on an option in a <SELECT> list, you have to use some type of client side scripting, i.e. vbscript, javascript. If using vbscript, it would be the 'onClick' event, or possibly the 'onSelect' event for the Select form element. I don...
by Hurkle
Tue Feb 11, 2003 8:17 am
Forum: PHP General
Topic: How it can cost?
Replies: 1
Views: 1414

Mon plaisir, bonne chance.
by Hurkle
Tue Feb 11, 2003 8:15 am
Forum: PHP coding => General
Topic: reference...
Replies: 1
Views: 1028

Try something like this to get an idea of how this works.. Assume that your form is described in the code below, and 'frm_process.php' is the script that processes it. echo "<FORM name = 'frm_vars' method = 'post' "; echo " action = 'frm_process.php?get_x=" . $var1; echo "&g...
by Hurkle
Tue Feb 11, 2003 8:02 am
Forum: PHP General
Topic: How it can cost?
Replies: 1
Views: 1414

There's no real way to evaluate that price without more details. A few factors come into play. Do you know all the details about everything the client needs and expects? If so, do you have a solid estimate of how long in actual hours it will take you to do? Also, do you have an idea of how much per ...
by Hurkle
Thu Feb 06, 2003 3:44 pm
Forum: mySQL & php coding
Topic: Sending Multiple Emails from database
Replies: 1
Views: 1249

is it possible that the "to:" string in the mail function can consist of multiple email addresses? i.e. if you had 3 user in your db, with emails like tom@yahoo.com, dick@aol.com, harry@hotmail.com, would this work? $str_to = "tom@yahoo.com, dick@aol.com, harry@hotmail.com" mail($str_t...
by Hurkle
Thu Feb 06, 2003 3:38 pm
Forum: mySQL & php coding
Topic: Semaphores
Replies: 2
Views: 1338

hmm.. when a user opens a form, you could record that that record is checked out, the time, and the user. If someone else trys to open a checked out record, check and see if the time that a record is allowed to be checked out has expired with no changes from the original user. If 2 hours have gone b...
by Hurkle
Thu Feb 06, 2003 3:19 pm
Forum: PHP coding => General
Topic: font resolution
Replies: 1
Views: 944

Are you trying to get the font size and screen resolution for the client machine? Other than through client side javascript, I don't know any way to retrieve that stuff using pure php. There might very well be a way to do it, but I haven't found it yet. If you want total control over how stuff is di...
by Hurkle
Thu Feb 06, 2003 1:34 pm
Forum: PHP coding => General
Topic: Tuff one
Replies: 9
Views: 3386

Hey, as soon as you get something cool working, any chance you'd post a link to the finished product? I'd love to check it out. And yes, being a newb ain't fun. The funny thing is, I'm a newb with php myself, only 2 months into it.

Have fun
by Hurkle
Thu Feb 06, 2003 1:00 pm
Forum: PHP coding => General
Topic: Tuff one
Replies: 9
Views: 3386

okay, it took some work, but I finally got this to work. The name of the x coord is imagebuttonname_x

so if your image button is name image

then the x coord is $_POST['image_x']

give it a shot, hope it helps
by Hurkle
Thu Feb 06, 2003 11:42 am
Forum: mySQL & php coding
Topic: dynamic scrolling text... how this could be done?
Replies: 0
Views: 962

The easiest way is to use a marquee. This might be IE only, so be careful using a method that might not work for everyone.. try this. echo "<marquee align='middle' behavior='slide' "; echo "direction='right' scrolldelay='5'>"; echo $str_text_from_sql; echo "</marquee>";...
by Hurkle
Thu Feb 06, 2003 11:36 am
Forum: PHP coding => General
Topic: Tuff one
Replies: 9
Views: 3386

Okay, I haven't done image buttons in php yet, but it should be the same as in other things. In the asp stuff I've done, the clicked x and y coordinates are returned as imagebuttonname.x and imagebuttonname.y. I think you should be able to get each with something like this.. if (isset($_POST...
by Hurkle
Wed Feb 05, 2003 1:50 pm
Forum: PHP coding => General
Topic: Function within query statement?
Replies: 0
Views: 602

I don't know how to do exactly what you described, but here's an idea for you. If you have a function that can calculate the distance between 2 zips, then you must have some way of getting positional data for a particular zip. I would add 2 columns to your zip code table, i.e. fld_zip_x, fld_zip_y. ...