vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   checking user post number after posting (https://vborg.vbsupport.ru/showthread.php?t=3263)

09-16-2000 10:29 PM

I started talking about an affilaite program thing in chit chat but as i thought about i have a more specific idea so thought i would add it here. Hope that is ok.

What I want to know if i can do, is, after a person posts to check the mySQL database to see how many posts that person has made. If that person has made say 100 posts I want the the next page (the "thank you for posting" bit page to load an image of the form
<img src="http://www.domain.com/cgi-bin/script.cgi?posts=100&extra=$id">

if you see what i mean. So I would need an if, elseif type statmement. Is this possible. Finally, the $id i want is going to be 1 of the fields in the user's profile so I also want to be able to "call that".

Is this possible? Where do I start. Thanks

09-19-2000 05:59 PM

no response? is it possible or do i need to explain it better? thanks.

09-19-2000 08:23 PM

"All is possible"

09-19-2000 09:30 PM

Ditto to rangersfan. PHP 0wns you!

09-19-2000 10:19 PM

p|34$3 3><p|4l|\| :)

please explain (1337 h4X0r sp34|< 0wnz j00!!!111)

09-19-2000 10:35 PM

I didn't want to go all-out, but if you want!!! ;)

Man, reminds me of my old BBS-ing days.. Sigh. :)

09-19-2000 11:11 PM

um... yes :)

like the sig ed :)

Off to that PHP manual.

Off topic, what is the best PHP book for someone who has done almost no programming apart from installing a few cgi hacks and a bit of OPL on a psion :)

Thanks.

09-20-2000 01:08 AM

I think "Professional PHP Programming" by WROX Press is a good book to start with...

09-20-2000 01:23 AM

thank you, off to infront.co.uk to get it then.


All times are GMT. The time now is 11:24 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01070 seconds
  • Memory Usage 1,722KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete