Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy. This forum is not for asking programming related questions.
Well, I've come a long way since 2002, that's for sure. Turns out my issue was caused by register globals being disabled.
I think it would be neat for us to all take a trip back in time and share our first post. So go ahead, dig it up and quote it. I was totally out of the loop back then... using IIS lol.
You can view your profile, click on "Search user's posts" and then click on page 2. In the url you will see &start=15. Keep increasing that number till you get close to the last page and you'll be able to find your first post.
Don't be shy!
astions wrote:Ok after 2 hours of being totally confused about why some code which I copied straight out of a book doesn't work, I decided maybe some of you could help me.
What I did is took this one line of code and threw it into a a file called text.php
Hello, I am trying to execute a .exe program through PHP. The basic function i am trying to use is exec. The program needs the path of a particular directory as its arguement. But the path has spaces and this is not getting recognised by the command. Here is the code.. //Code for executing the Re...
onion2k wrote:Interesting issue, I'll have a look into later.. in the mean time though, you could use imagefilledrectangle() instead if you're just trying to create a solid background colour.
VladSun: I positively envy you for such a cool first post At least I got to be in the answers
OT: Out of curiosity, did you use this code in the end? I did some cool things with a similar scheme and a boatful of independent services with multiple communication paths between them (another language, another technology).
obama wrote:Am I the only one using CoffeeCup??
Maybe it is time to move on?
But this was 5 minutes ago.
Wait, CoffeeCup? What kind of dung do they make nowadays, I remember them from the time they were selling this wonderful security product that implemented multiuser login system in a bloody java applet! This inspired my first PHP app, which took a "protected" URL and gave you back a list of usernames, passwords and the secret URL... heh, those were the days. To be fair, there were dozens such snake oil companies on the market, I reverse engineered all of their stupid applets Still, dung is dung, other dung does not make this dung less smelly...
Mordred wrote:VladSun: I positively envy you for such a cool first post At least I got to be in the answers
OT: Out of curiosity, did you use this code in the end? I did some cool things with a similar scheme and a boatful of independent services with multiple communication paths between them (another language, another technology).
Hey, thanks Mordred. And thanks again for you help
Indeed, I used the HMAC version of this code. You can find part of its implementation in viewtopic.php?f=6&t=74556&p=421638#p421638 (shamelessly stolen from epay.bg examples ).
I used it for very simple site features - like "My list of something"
There are 10 types of people in this world, those who understand binary and those who don't
create table registrations (id int not null auto_increment, person_id int not null, course_id int not null, primary key(id));
create table courses (id int not null auto_increment, lmt int not null, primary key(id));
-- persons table defined elsewhere...
-- you can add more fields
-- fill the table with data, then:
select courses.id, if(count(registrations.id)>=lmt,"<font color=red>booked</font>","<a href=reg.php>register</a>") as status from courses left join registration on courses.id=registrations.course_id group by courses.id order by status;
-- this query will give you formatted cell data, which you can
-- insert directly into the <td> tag.
PS: tested on MySQL 4.0.14
The actual code was broken during one of forum migrations.