Jump to content

Ninjakreborn

Members
  • Posts

    3,922
  • Joined

  • Last visited

Everything posted by Ninjakreborn

  1. At this point, I don't really mind using anything. Wamp, XXAmp, self install, all I want is the following * php 5+ * mysql 4+ * Apache 2* * All the Php extensions, and external libraries I can safely get * Something that works Whether I can use wamp auto-install, XXamp auto install, or manually do the whole thing. I am not a server tech, I really never want to be. I want to know the basics of apache (very, very few basics), and the basics of configuring php/mysql, but other than that, I want to stay away from servers. It takes up to many resources. Anyone have advice offer, on how to get those. If I do the following * go to apache's website, get apache 2+ * INstall it first * Download php 5+, mysql 4+, phpmyadmin * INstall them all * Test them, configure them Then assume it's up and running, setup, and working correctly.  What happens next.  What libraries, do I need to look into to get the rest, is there a special program I can download, or zip file that will have copies of ALL the libraries Iw ould need/want in one place, so I can just empty them all in the right place, and setup php to work with them.? If I go ahead and reinstall wamp or xxamp, which one is going to give me more of the external libraries? Thanks for the advice?
  2. [code]So you're going to give up on WAMP, just like that?  So what happens if you have issues installing Xampp?  Are you gonna go find something else?  If you don't take the time to figure out what is wrong and fix it, you will never learn anything.[/code] Ok, I am about to install one. The reason I am thinking of XXAmp, isn't because of htat problem. It's because of this * I want to get as many libraries included with it as I can. That's what I am wanting to do. I talked to redbullmarky about it awhile, I was destroying my career by studying, working on my framework, working on personal stuff during work hours.  I wanted to setup a server on my laptop, transfer files via flash drive, I can send them from one computer to another without a problem. I was going to study anything I study on the laptop, and work only during work hours. THat is what I was trying to do. I want to install one that give's the most amount of libraries included. [quote]Function Reference[/quote] Looking at all the functions under php.net, I don't need any of the database specific one's except mysql. However other libraries, I do want to get, for example. All the non-database related function libraries. I look at the wampserver website. I don't see it saying which one's are installed, so even if I wanted to, Ic ouldn't find the dll's I am missing and put them in.  This is one thing. Looking at XXamp (which someone offered advice about earlier in this post it actually lists a lot of the one's I wanted, (but not all of them), whatever guidance you offer at this point to get what I want, and get it working, I will do. Any help is appreciated. [quote]I just don't get how you managed to phuge WAMP up! Just do a reinstall don't jump from package to another either and always remove any traces of a package you have installed. If it helps watch this vid tutorial here for installing WAMP. To enable different extensions for PHP just edit the php.ini - most common extensions (should) come with PHP. If they don't just go to php.net download php (make sure its the same version) again (make sure its not the installer! Get the zipped binaries) and the just extract the extension folder out of the zip to PHP's installation folder. However IMO depending on how well you are with computers I prefer a manual install of Apache, PHP and MySQL. if you do that you will get a much better understanding on how these work.[/quote] I swear on PHP, that I did the exact normal installation, with all the normal settings. Ok, for installing Apache, PHP, Mysql.  I want to do a normal manual install then, however will I still have access to everything. What do I need to do in order to get that. I mean, I go to apache's website, and download Apache 2 I go to mysql, and should I get 4 or 5 Then I go to php's website, and get php 5+ (earliest version of 5) does it come with all the stuff with it, or not. Is that all I need. Just apache 2+, mysql 4+, php 5+ Plus carry a few tutorials on how to install it over into the laptop, so I have somethign to go by. How do I know what libraries PHP 5 come bundled with, adn which one's I need to get (that I don't have) ??
  3. Ok good advice, forget what I have. I looked back http://www.apachefriends.org/en/xampp-windows.html Looks better than I thought. Here is my question. I want mysql 4+ php 5+ which is has all of that in Xampp. I am really wanting all the external libraries, If you look at that file there are 3 packages basic, dev, upgraded version Is hte upgraded one the one that includes the most libraries are there any external libraries it doesn't have. I want to really get all the one's with php. Curl, xml, gblib, math, mcrypt. I want to get them all in one install.  Or atleast most of them, is this something xxamp will give me, or do I HAVE to do my own full installation. I like XXamp a lot more too, because of the stuff it come's with it also looks like more libraries are built in. Just looking for some direction. Thanks.
  4. Well the data "could have gotten corrupt. Because I * DOwnloaded it from the website * Copied the file to my flash drive (mini storage unit) * Unloaded it onto my laptop * Installed it so maybe moving the file around that much caused some form of problems or something.
  5. Ok, here are my points. * I am 100% everything was left at it's default, untouched settings during installation. * I am 100% that is what the name of my system says.  I went into control panel, system, and right there, it says System windows xp professional version 2002 * I have installed wamp before like this, ona nother server. It worked entirely no problems.
  6. Ok, I foudn out it was impossible to do it the way I was trying. I am trying something else now * calling one xml/xsl file forming them together to create one table of information. * Calling the other xml/xsl file and forming them together and outputting them on the screen after that. * Put both smaller tables into a bigger table to make them look like they are together * Then advance on it from there. I was trying to call information from 2 different xml file's using 1 xsl file, I found out you can't have an xsl file formatting information from one xml file, adn then stop, pull some info from /format some data from another file, continue where it left off, then output all the information together I saw no physical way to do that.  If I run into that other problem with this method I will post it here, I am doing that later today.
  7. For right now, I want to see if anyone knows what is causing this. What I REALLY want is Apache 2, Mysql 4+, PHP 5+, But I want to get one bundled with ALL the extensions, Curl, gdlib, math, mcrypt, xml, and other stuff. I want to get one bundled with all of them. Steelman - I have made sure I retained the original settings 100%. I have windows xp professional version 2002 on the laptop, or somethign like that. I don't know, the original information has been left intact. I did the original install.
  8. I know for a fact safemode isn't on, I played with some of the settings awhile too. It wasn't working, the reason I wanted the laptop to have php on it, is because I don't have time to study much, or work on my framework, I need to start only working on projects. I went to test the affects of iniset on the phpinfo page, to see if I noticed changes (basically trying to see if the framework was making those changes), and nothing I could do would get the php page to show up. It was either, page not found. Or it kept loading the page, over and over again (never showing the info), like if it had gotten thrown into an infinite loop. I have attached the php.ini file. Thanks for taking a look for me, I hope I can figure it out.  I tried uninstalling, and reinstalling the apache service.  However it had no effect (except threw it for a loop for like 40 minutes (wasn't working) Also I am sure display errors is on, the error reporting is at the right level.  However the problem is, when the page come's up it doesn't even show the page, so if there were error's it couldn't show them because hte page never loads. There was something called y2k compliance enabled in INI I had never seen set before, I took that off, tried it again it dind't work, so I resetted ini to it's default. [attachment deleted by admin]
  9. Yes I am 100% sure of that. I tried everything, restarting the services, and everything. Everything works as long as the function phpinfo isn't on the page, then it can't find it or loads it over and over again forever. I am 100% I did both of those, I also poured through httpd config and php.ini and nothing that would cause that. Any other ideas?  It sometimes does come up but rarely if ever, if phpinfo isn't present on the screen it works perfectly anyway.
  10. First time this ever happened. I got www.wampserver.com/en I downloaded the newest version, and installed it on my labtop.  I didn't intend for this to go live (on the internet or something), but I wanted a local area I could study while off work hours, as well as work on my frameowkr. Taking my file's back and forth between computers using a flash drive. I completely installed wamp server. (This was working yesterday) it's on a windows xp professional system (it's my computer operating system. I installed wamp, everything works.  However when I try to load phpinfo inside any page it doens't work. if I do <?php echo "hello world"; ?> hello work works, but if I do <?php echo "hello world"; phpinfo(); ?> or <?php phpinfo(); ?> or anything, it stops the page from coming up, it does either 1-2 things. 1. It will sit there and go through loading 5-6-7-8-9-10 time's over then stop. 2. It comes up with page not found, that's it. Anything witht eh funciton phpinfo does not come up, I already checked and the function isn't diabled in the php.ini file. Thanks.
  11. Oh, that is true, now that I reread everything. Thanks for claryfing that, sorry about that.
  12. No it wasn't what I was mad about. What made me mad was he tried to accuse me of doing something wrong.  I don't particular pay attention to that, I read what was on the thing. I intend to do it that way, if someone has a problem they can contact me (the person with the template)< hell I will email them myself and ask them, that's the point. I used it, not trying to hide it, but don't like him coming on here, out of nowhere, pointing the finger at me like AHA this is the template you were using, and you are breaking the law. BUllshit, I read the thing myself, that is the point, he went against my better judgement, I always read copyright before using something. i read it, adn did exactly what the terms said I could do (credit's page)
  13. See the problem here is, I don't care what YOU see required.  You aren't the one that owned the template, or the one that recoded it, or the one that used it.  Or the one that got the file with it. It is NOT required based on the information included with the template. I can donate to there cause, I can leave a link at the bottom, or I can put it in a credit's page, or I can do none of the above.  I don't intend to put it at the bottom of every page, I do however intend to put a credit's page up when I get time this week.  That however doesn't mean that I have to, it doesn't mean it's required by teh template creator, by law, or by the copyright. I am doing it, because 1. I have no reason to hide it 2. I have no reason not to 3. I have absolutely no obligation too, but so far I liked all the templates on that site. I have used one for my framework, and one for my site, they were both perfect matches for what I wanted, and both convenient.  I do intend to support "them" in any way I can, not because I have to (If I had to I wouldn't have gotten the template, that's the way I work".  So I have credit's page on my other site, and I am adding one to my site. I built the site, I owned it, I created it, it was based off a template (I liked a lot) off there site, and I intend to give them due credit. Don't think it's because you think I "Have" to for some reason. Now as a recap over my entire message, I didn't use a "cuss" word once, I didn't make an insult once, so I technically broke no rules. As far as creative common liscence, I have a copy of the liscence agreement inside the file, I don't have to see it the way you see it.  The template owner has a problem with it, they can tell me themselves, and I can show them where it say's it. I am adding a credit's, but far from teh reason of you telling me I need to, more of a reason to support the company that provided me with the 2 structures, to get 2 of my site's up and running rather quickly.
  14. I know, having multiple labels for multiple names. I have services[] services[] services[] I needed label's for all of them, I am going to look into a nother way shortly.  I mostly keep those links there so I can validate it quicker, I try to check everything for validation after each update, so everything stays validated, thank's for the advice, and for pointing that out.
  15. Ok, another update to the code.  Now I have After some more checking, and working with the code, I know this is closer than what I had it. See there is a foreach going through the channel, the programme is seperate.  It's below that. So I pass it the chanel id I have, to try and look through, and locate the channel.  The foreach program in that channel, go through test for the statements to find the one that is now playing. However htere is still no output, so there is still something I am missing. Any feedback or advice, or help would be greatly appreciated.  Thanks. [code]   <td> <xsl:text disable-output-escaping="yes">&lt;span&gt;</xsl:text> <xsl:when test="@channel = $channelCode"> <xsl:for-each select="tv/programme"> <xsl:if test="@start &lt;= $time"> <xsl:if test="@stop &gt;= $time"> <xsl:value-of select="programme/title" /> </xsl:if> </xsl:if> </xsl:for-each> </xsl:when> <xsl:text disable-output-escaping="yes">&lt;/span&gt;</xsl:text>   </td>[/code]
  16. After doing some more research into directories I created this [code]   <td> <xsl:text disable-output-escaping="yes">&lt;span&gt;</xsl:text> <xsl:for-each select="./programme"> <xsl:if test="@start &lt;= $time"> <xsl:if test="@stop &gt;= $time"> <xsl:value-of select="programme/title" /> </xsl:if> </xsl:if> </xsl:for-each> <xsl:text disable-output-escaping="yes">&lt;/span&gt;</xsl:text>   </td> [/code] Where it mentions the directories it seems related to a web direction where / is from the root and ../ is up one level. I modified it as above, and still no luck
  17. Based on what I said above, this is what I created. [code]   <td>   <xsl:text disable-output-escaping="yes">&lt;span&gt;</xsl:text> <xsl:for-each select="tv/channel">   <xsl:if test="@start &lt;= $time"> <xsl:value-of select="programme/title" />   </xsl:if> </xsl:for-each> <xsl:text disable-output-escaping="yes">&lt;/span&gt;</xsl:text>   </td>[/code] Ok the idea is to output the start of the cell. Ok this is the big picture, the current program is already running a foreach for each channel (meaning it goes through each channel), I am trying to run a foreach inside a foreach. Now inside the foreach chanel, I need to run a foreach for all programs in each channel as it goes through. Which is what I attempted to do above. THen for each passthrough on the programmes, it needs to test if the start time, is after the current time, then if it is display the program.  I need to 1. Get this to work (it's not outputting anything) 2. Get it to run this loop, but test for 2 things, make sure the start time is after the current time, and the stop time is before the current time to guarantee that it's the current playing program. Anyfeedback is greatly appreciated. I am running out of stuff to try.
  18. Ok, that makes sense. So far I have what I wnated done, except for one thing.  I know  right now, I have a list of programs I need to run through a list of all the programs that are playing under each channel I need to check the start time, and stop time of each show, and if the current ime, is within that time period display what is now playing. So far I have [code]   <td> <xsl:if test="$start-time &lt;= $time"> <xsl:if test="$stop-time &gt;= $time"> <xsl:text disable-output-escaping="yes">&lt;span class="current"&gt;</xsl:text> </xsl:if> <xsl:if test="@start &lt;= $time"> <xsl:if test="@stop &gt;= $time"> <xsl:text disable-output-escaping="yes">&lt;span class="current"&gt;</xsl:text> </xsl:if>   </td>[/code] I know I need foreach in there, I also have to call out the name of the program that is now playing. So far what I have tried to do is test the start time and stop time, this allows the current tag to display and show it there.  I am missing something. Ok so far I have a list of all the channels.  Down the list, on each chanel it displays the channel icon, number, name.  I need it to check the programs under that channel, and always display the program that is currentl playing for that channel?? Again, after talking with redbullmarky for general stuff, I know that studying a lot isn't going to get me anyway.  So now I study when I have time, and spend most of my time, shutting up and jumping in.  I did htat so far, and made a lot of progress, I am still trying to figure out how I need to go about doing this, any feedback, links, or anything would be greatly appreciated? I don't need links on general xsl, because I have like 4 reference site's up as I learn the syntax while I go along.  I ahd actually just found outa bout the @ symbol for attributes when you mentioned that. I just don't understand how to do this process.  Right now it's going through all teh channels, It has setup a table, for each channel it shows the information I mentioned, the last thing I need to do here, is get the current programming that is playing (it's name), to appear in the right table cell? I don't understand how to check through all the programms under each chanel, and output the name of the current playing one.  Each program has a start time and stop time, I already captured the current time in php using [code]$time = strftime("%Y%m%d%H%M");[/code] I am 100% I can use this as a reference to the current time. (Based on the way the time's are formatted in the xml document. Thanks?
  19. Hmm, thanks a lot for that. That linked help me understand it. It seems xml/xsl are a lot easier than I thought, I have done a few things. I have a quick question though. You use [code]<xsl:value-of select="$start"/>[/code] Inside of XSL to grab the contents of an xml tag it seems So if there was  tag like [code]<hello>hi</hello> (just an example)[/code] Then if you use [code]<xsl:value-of select="$hello"/>[/code] Then it seem's it's going to print hi out to the screen. how do you grab the attribute of something. For instance you have an xml file like [code]<user>   <firstname>Joyel</firstname>   <lastname>Puryear</lastname   <age>23</age>   <hobbies number="1" time="5">Video Games</hobbies>   <hobbies number="2" time="3">TV</hobbies>   <purpose>Eat Cheese</purpose> </user>[/code] Now, based on what I have seen, I know how to grab something like the age, or the username. using xsl However I Don't know how to grab something like the value of number, or time. Like here for the first number=1 time=5 I need to be able to grab the time, grab the number something like that, I have to grab a start time and a stop time, and compare them. First I need to get access to the variable, I can tell how to do the rest after that. Thanks?
  20. Ok, what is hte different between XSL and XSLT
  21. Also the application deals with the xmlf ile.  THe xml contains live television listings.  The programming he is creating, is meant to allow people to browse those listings, and do things with them.  Sort of like an online tvguide listings (I see them all over the place), people have done it on other site's. So the idea is to allow people to have a login, be bale to choose there favorites, otehr things, I can't disclose for later functionality.  However you get the idea the application need's to be scalable I need to guide it in the direciton so it'll be easy to add in new features in the future, and do new things with it, if needed, and build new things onto it, as needed, with less hasstle.
  22. I have been looking into xsl all day. This is the thing, the whole site is based around this feed.  People who sign up are going to do things based on this information. THe url was labs.zap2it.com gave you the wrong url a minute ago. I am wondering what is the next step. Is there something I am missing, so I should go ahead nad keep the xsl stylesheet. Could I do the whole thing in php, including the formatting, or should i take all teh data nad put it into mysql. any advice is appreciated thanks.
  23. ok labs.zaptoit.com They provide a live feed for television listings. The guy (I can't disclose any url's or any name's, or any specific's, however a lot of people use the feed, so I can give general information.) Ok, he is getting the data from there.  He is using something called "xmltv" to get the xml file, and bring it onto the server.  This represents one problem, because he want's it automated, one thing I am trying to look into is setting up a cron job, and have php grab the file daily (Not sure about this yet), that is the second step. For now we have the xml file and he can do it manually until we get to that stage (he has been.) So at this stage, we have the xml file.  He has something worked out right  He didn't know development he was just hobbying, so he setup something for now. He currently has something setup. After he manually get's the xml file on the server.  He has a menu.xml which is the file that holds the xml file, and he has menu.xsl which is xsl giving a bunch of formatting to the xml.  Then he has a php page, that is doing some stuff to the xml/xsl file's and outputting them onto the browser, in a table, with some checkboxes, (which is where they see the listings). Enough said about that. Now he is wanting updates to this, login sytem built in, new column of data.  This is going to be a full blown application, with a list of about 25-30 different standalone additions he wants built into the application as well as the application went through, commented some and the coding commented. Should I * Pick up some xsl, and style the current sheet to add the other row of data, and modify it as I go * Throw away the xsl stylesheet, and just format everything using php. I have to be able to use this xml data in other ways.  Like have user logins, and they they can save there favorite stuff, adn other stuff they can do with the data. I am a little lost as to how to approach this, how would you approach it.
  24. Ok, so what would you do. Let me ask it this way. You were getting a live feed of something, say new's, or tv listings, or anything like that You had some way you were retrieving a file (that is seperate, he uses a program, get's the file and put's it on the server) So we are at the stage where the .xml file is actually on the server and ready to use. Would you use option 1 or 2: 1. Use xsl to format the data in the xml file, then use php to combine and output it, which is what is being used now.   * Keep in mind I have to be able to make really large changes, build login system, and membership and lot's of other stuff around the xml data.  Allow people to remember preferences (favorite choices and everything), based on the xml data. XML + XSL (+PHP) = Output 2. Use php to open the xml file on the server, have php parse it all, then output it into the xhtml file using arrays (By trapping parameters into the arrays.)  This would mean instead of XML + PHP = Output Which one of the 2 would you prefer.
  25. Ok, instead of asking a rambled, stupid mixture of questions, let me ask one to save time, and really get me the only answer I need to move forward. Ok, there is xml, there is php, and there is xsl. What exactly is the purpose of ever using xsl to format xml documents, when PHP can be used to do the whole process instead, without any help from XSL? The reason I am asking that question is his current system has the menu.xml file, it has a menu.xsl file where I see it creating all the output for the browser, then a menu.php page bringing it all together, and outputting it. Why not just simply use PHP to open the xml file, parse it, and format it. Or is there something I am missing, that one question should allow me to dig further to find all my other answers.  Thank you?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.