Search found 37 matches

by musashi
Wed Oct 29, 2003 6:31 pm
Forum: Javascript
Topic: IE Mac header problems
Replies: 1
Views: 968

IE Mac header problems

Okay, I realize that people have talked about this before :oops: But I really need to know if anyone has any ideas on how to solve the old "Internet Explorer doesn't recognize the header information correctly" problem for the Mac (OS X) IE Version 5.2 The issue is, I'm using the header(&qu...
by musashi
Wed Apr 02, 2003 4:49 pm
Forum: PHP - Code
Topic: Transfering PDF's without PDFLib
Replies: 2
Views: 619

Transfering PDF's without PDFLib

Does anyone know if this is possible? I have a simple rountine setup, but the issue is that since the file extension to the php program is .php IE seems to be confused as to what to do. So it's solution is to just download the contents of the file and display it in a text editor. When, my hope is to...
by musashi
Fri Mar 28, 2003 8:42 pm
Forum: PHP - Code
Topic: Extending PHP - working with hash tables
Replies: 0
Views: 363

Extending PHP - working with hash tables

To let everyone know, I am referring to building a C extension that compiles into the PHP core. The extensions have 2 functions that seem to be not happy working with each other. So for this to not be to confusing, I have: A) [add_to_array] function that feeds in the contents of an array and then re...
by musashi
Thu Mar 27, 2003 2:40 pm
Forum: Javascript
Topic: Webpage expired notice in IE on a PC
Replies: 1
Views: 5237

Webpage expired notice in IE on a PC

Okay, I realize this is probably an IE thing related to a previous POST request. However I wanted to insure that there is nothing I can do to avoid this. Basically I have a checkout process that requires several steps to complete. Several pages post information as opposed to sending it through a get...
by musashi
Thu Mar 27, 2003 2:19 pm
Forum: PHP - Code
Topic: Extending PHP - Removing data from an array
Replies: 3
Views: 588

extending php

protokol I appreciate the assistance, but PHP code is not what I was referring too. The issue is in regards to extending php (when you build C modules that you compile into the PHP core). See: http://www.php.net/manual/en/phpdevel.php I think I might have found a bit more information on it, but I'd ...
by musashi
Thu Mar 27, 2003 1:03 pm
Forum: PHP - Code
Topic: Extending PHP - Removing data from an array
Replies: 3
Views: 588

Extending PHP - Removing data from an array

Okay, so I know how to build arrays, and read arrays, but I don't know how to remove elements from arrays. I would imagine there is a nice macro for it, or it could be something as simple as setting the hash-table entry to NULL, however I have been unsuccessful in doing (or finding how to do) either...
by musashi
Thu Mar 27, 2003 12:38 pm
Forum: Databases
Topic: confusing mysql statement ????
Replies: 3
Views: 924

mysql query

Well the problem is this: course.courseCode != student_course.courseCode if you have that in a left join then you are right, it will compare and return each row on the left join that doesn't match. So you will get a flood of results back. What you really want is to do a nested query. Thing is, in My...
by musashi
Thu Mar 27, 2003 12:33 pm
Forum: PHP - Code
Topic: cleanup of server side session files..
Replies: 1
Views: 364

cleaning session files

I am assuming you are referring to the session files in the /tmp directory (if you are on a unix system. Not sure where they are on windows). Anyway, those files are cleaned up by the session_gc (the garbage collection routine). If you didn't modify this routine (by making a customized session handl...
by musashi
Thu Mar 27, 2003 12:27 pm
Forum: PHP - Code
Topic: Extending PHP and Sessions
Replies: 2
Views: 519

I see it

Man, Volka... Thanks for the tip. It's in there, now I just need to figure out how to utilize it without blowin things up! :lol: For anyone trying to do this you can find session.c in the ext directory. If I get it all worked out I'll post up somethin or write an article on it. No guts no glory. :tw...
by musashi
Wed Mar 26, 2003 12:45 pm
Forum: PHP - Code
Topic: Extending PHP and Sessions
Replies: 2
Views: 519

Extending PHP and Sessions

I'm extending PHP by building and compiling in a C module. There are Macros for all kinds of things, but one thing I cannot find is any mention of session information. I basically have a function that will alter the contents of the $_SESSION variable. I realize that I could pass the $_SESSION variab...
by musashi
Thu Mar 13, 2003 5:41 pm
Forum: PHP - Code
Topic: Yahoo login script
Replies: 4
Views: 5559

a step away

Well, the issue that you are facing is in the way you are looking at the problem. You must find out how the information gets sent to Yahoo for all the automatted actions you are trying to do. So based on your list: 1. User gives you access to their Yahoo account. - easy enough to have a form for tha...
by musashi
Thu Mar 13, 2003 5:28 pm
Forum: PHP - Code
Topic: "The Page Cannot be Displayed"
Replies: 2
Views: 548

page display problems

First of all, you must eliminate anything variable in YOUR program. If the progam works with everything set by you, then there is an issue of the reliability of those variables. That said, it doesn't sound like that is the problem. Since you should be seeing something other than a page display error...
by musashi
Thu Mar 13, 2003 5:15 pm
Forum: PHP - Code
Topic: Having a hard time with some date logic, please help :(
Replies: 2
Views: 516

date 3 days before

$three_days_ago = date("ymd",mktime(1,1,1,date(m),date(d)-3,date(y))); Now, I'm assuming that time of day (since I set it to 1:01) is not a concern. If you need to do time of day, you can adjust the mktime() function. Here is the manual page: http://www.php.net/manual/en/function.mktime.p...
by musashi
Thu Mar 13, 2003 5:10 pm
Forum: PHP - Code
Topic: PHP and MySQL auto_increment
Replies: 4
Views: 737

manually setting the id

I agree with the notion of manually setting the id. However keep in mind that this creates, as does the auto_increment method, a need to auto-adjust the id during the removal process. Since it seems that you do remove rows from the table, and have been hit by the auto_increment frustrations of lack ...
by musashi
Fri Feb 07, 2003 3:25 pm
Forum: General Discussion
Topic: IP Addresses for Session Tracking
Replies: 2
Views: 1705

IP Addresses for Session Tracking

I realize that IP addresses can either be dynamic or static. Most often the dynamic IPs are seen with dial-up people vs. the static enjoyed by DSL and Cable modems, and so on. My question though has to do with an established connection. To my knowledge, IPs, dynamic or not, do not change and are spe...