VM-F Meeting #1 - Re: VANESSAMAE.ORG

This is the main lobby for Vanessa-Mae related discussions.

Moderator: zeta

User avatar
aventine
Site Admin
Posts: 424
Joined: Thu Jul 11, 2002 3:57 pm
Location: New Zealand
Contact:

Post by aventine »

Thanks machalita and El_Guille. I have the flash bit under my belt at the moment but I'll let you know if I require any extra assistance. Possibly when we come to creating some screensavers and multimedia stuff for the downloads section. Do you have any flash stuff I can take a look at?

El_Guille - the new site will be powered by php, but this forum is still in CGI. Well I know absolutely nothing about CGI (yet I managed to install this thing ???), so perhaps I'll need your help with a few things for the forum. I think street_rat was thinking about using the calender with the forum, but I'm not sure how that works yet. I haven't seen the revamped version of your site before, it looks great!
machalita
VMF Reg
Posts: 110
Joined: Sat Oct 05, 2002 5:08 pm
Location: S.L.P Mexico
Contact:

Post by machalita »

I was making some animations with vectorials of japanese cartoons.
I can make icons too... and another stuf.
Machalita
El_Guille
VMF Reg
Posts: 77
Joined: Thu Jul 18, 2002 1:55 pm
Location: Buenos Aires, Argentina
Contact:

Post by El_Guille »

Hi Aventine, if your server support SSI (Server Side Include) you can add CGI in your html as the following:

Code: Select all

<!--#exec cgi="/cgi-bin/counter.cgi" -->
and therefore combine PHP with CGI. In this example, counter.cgi will return the total of visitors, or the number of visitors in the past 15 minutes, or anything you need!
(PD: i don't know anything about flash...)
(PD2: sorry if i'm off-topic...)[/color]
User avatar
Niccolò Paganini
VMF Reg
Posts: 88
Joined: Sun Nov 10, 2002 11:01 pm
Location: Toronto, Canada
Contact:

Post by Niccolò Paganini »

Whao, I haven't been here for a while, is it just me or did some of the colours change in this forum? ???

I'd like to see the finish product of this new site when it is done, it'll be interesting to see it. I don't know any scripting but I have a few wallpapers that I can contribute if you are interested.
User avatar
aventine
Site Admin
Posts: 424
Joined: Thu Jul 11, 2002 3:57 pm
Location: New Zealand
Contact:

Post by aventine »

Uh... no of course not... :p

Ok I accidentally replaced the CSS file with the new one for the brand new site, but that's ok, a bit of grey against brown for a few months won't hurt.

For our multimedia section we will include screensavers and wallpapers etc. and we definitely want a lot of fan contributions in this section! I'll announce it on the new site when it is launched so you can start sending them in then.
Street_Rat
VMF Elite
Posts: 379
Joined: Tue Jul 16, 2002 11:05 am
Location: Adelaide

Post by Street_Rat »

El_Guille, i didnt know cgi and php could be includeded together, but now i do, i may ask for your help in some aspects since a cgi file can sometimes run faster than a php page.
can the variables between the two be inter changed or are you un sure?
Street_Rat
--> a simple man with a simple wish
gaven
VMF Reg
Posts: 108
Joined: Wed Feb 05, 2003 12:14 pm
Location: Sydney,Australia
Contact:

Post by gaven »

I`m affraid I cant help much at all Im pretty novice at most things to do with computers :;):
gaven
User avatar
daniel
Veteran
Posts: 197
Joined: Wed Nov 27, 2002 4:11 pm
Location: thailand
Contact:

Post by daniel »

Hi aventine,

no, I cannot help anythings here.
I am in basic computer skill

I see some page load to strech screen resolution
think you are on updating

very nice, girl
I really like it
El_Guille
VMF Reg
Posts: 77
Joined: Thu Jul 18, 2002 1:55 pm
Location: Buenos Aires, Argentina
Contact:

Post by El_Guille »

Hi Street_Rat. I'm sorry if I wasn't clear enough. You don't "combine" PHP with CGI, I mean you can't write PHP and CGI in the same script neither use the same variables. Let me explain a little bit more: If you have a specific CGI-script that prints a value or something similar (like the number of visitors), you can insert this value in your HTML or PHP with the

Code: Select all

<!--#exec cgi="cgi-bin/script.cgi"-->
code

Here is an example:
This's a very primitive CGI script (hello.cgi)

Code: Select all

 #!/usr/bin/perl ## THIS LINE IS NECESSARY
  print "Content-type:text/html\n\n"; ## THIS LINE IS NECESSARY

  print "HELLO WORLD";
Next, you add the following code in your PHP / HTML

Code: Select all

<!--#exec cgi="cgi-bin/hello.cgi"-->
And it will print "HELLO WORLD" in your php or html, but ONLY if your sever support SSI (secure server include).. Don't worry, almost every paid server support this.

PD: I guess we're off-topic here. I think it will be much better if we continue this chat in another "room" in this forum.[/color]
Street_Rat
VMF Elite
Posts: 379
Joined: Tue Jul 16, 2002 11:05 am
Location: Adelaide

Post by Street_Rat »

ahh, ok, that clears it up.

what about with functions, if u include a cgi program inside a php script, and have the cgi return somthing, and assign that to a php variable, something like
$thisVar = <!--#exec cgi="cgi-bin/script.cgi"-->
is that possible? i dont think it is, but it would nice if something like this was.
can a cgi script return values?

ur right though, this isnt really the place.
but this will probabbly be the end of this.
Street_Rat
--> a simple man with a simple wish
El_Guille
VMF Reg
Posts: 77
Joined: Thu Jul 18, 2002 1:55 pm
Location: Buenos Aires, Argentina
Contact:

Post by El_Guille »

I never tried to use this $thisVar = <!--#exec cgi="cgi-bin/script.cgi"--> code, and i think it won't work. :(
Yes, CGI returns values, but i don't know if these values could be considered by PHP.... again, I guess not.

I think the only way to combine both languages is through a printed variable or printed text (like the "Hello World" example). Another way could be writing data into a text file with php and then reading this file with the CGI-script.

I don't know much about PHP, and our site runs 100% CGI. So i can't help you with the PHP-CGI integration... But if you need a specific script, i'm offering my CGI knowledge.
Street_Rat
VMF Elite
Posts: 379
Joined: Tue Jul 16, 2002 11:05 am
Location: Adelaide

Post by Street_Rat »

the write and read from files is a good idea. not one i would of thaught of.
im not too sure whats needed but im sure cgi will be required for stability and speed.
Street_Rat
--> a simple man with a simple wish
El_Guille
VMF Reg
Posts: 77
Joined: Thu Jul 18, 2002 1:55 pm
Location: Buenos Aires, Argentina
Contact:

Post by El_Guille »

Ok, Street_Rat. Any further information, you know how to get in contact with me :)
devils_trill
Active Member
Posts: 65
Joined: Sat Jan 18, 2003 4:23 pm
Location: Shropshire

Post by devils_trill »

Have not met Vanessa but would like to!!!
User avatar
aventine
Site Admin
Posts: 424
Joined: Thu Jul 11, 2002 3:57 pm
Location: New Zealand
Contact:

Post by aventine »

I'm all confused by this tech talk. Anyway, the core of the site is pretty much done. We just need to set up the database stuff, so hold on just a little longer guys...

:cool:
Post Reply