Vervelende Code

Overzicht Reageren

Sponsored by: Vacatures door Monsterboard

Top Low-Code Developer Gezocht!

Bedrijfsomschrijving Unieke Kansen, Uitstekende Arbeidsvoorwaarden & Inspirerend Team Wij zijn een toonaangevende, internationale organisatie die de toekomst van technologie vormgeeft door het creëren van innovatieve en baanbrekende oplossingen. Ons succes is gebaseerd op een hecht en gepassioneerd team van professionals die altijd streven naar het overtreffen van verwachtingen. Als jij deel wilt uitmaken van een dynamische, vooruitstrevende en inspirerende werkomgeving, dan is dit de perfecte kans voor jou! Functieomschrijving Als Low-Code Developer ben je een cruciaal onderdeel van ons team. Je werkt samen met collega's uit verschillende disciplines om geavanceerde applicaties te ontwikkelen en te optimaliseren met behulp van Low-code

Bekijk vacature »

J V

J V

15/11/2007 09:52:00
Quote Anchor link
Ik zit met het probleem dat op www.brandjes.nl of www.brandjes.com, er op de index pagina (in het engels) linksbovenin iets raars komt te staan. Namelijk dit: Y38p0gFNLjE | (dit kopieer ik van de site en plak het hier, maar de tekst word dan anders),  (dit kopieer ik uit de source van firefox).
Maar als je op de nederlands vlag klikt, dan is het ineens weg. Het zit hem dus echt alleen in de index pagina.
Als ik de html pagina's open in notepad bijvoorbeeld, dan zie ik geen verschillen in de code's die hetzelfde zijn. Als ik ze lokaal open zie ik ook niets staan linksbovenin het scherm. Dus alleen online.

Bij internet explorer, zie ik juist weer niets linksbovenin de site, het ligt dus aan firefox. Maar alleen online zie ik het staan in firefox, offline staat het er namelijk weer niet.

Iemand enig idee hoe dit zou komen?

FlugelV
Gewijzigd op 01/01/1970 01:00:00 door J V
 
PHP hulp

PHP hulp

23/04/2024 14:55:12
 
- wes  -

- wes -

15/11/2007 09:55:00
Quote Anchor link
Het ligt aan je code, niet aan welke browser dan ook
 
Joren de Wit

Joren de Wit

15/11/2007 09:58:00
Quote Anchor link
Wellicht een paar onzichtbare vreemde tekens in je source? Probeer de complete code, maar ook enkel de code te kopieren en te plakken in een nieuw bestand.

Dat wil nog wel eens werken...
 
Elwin - Fratsloos

Elwin - Fratsloos

15/11/2007 10:49:00
Quote Anchor link
Ik heb zoiets wel eens gehad met de FCK-editor en toen bleek het aan de karakterset te liggen.

[Edit: LinkFix]
Gewijzigd op 01/01/1970 01:00:00 door Elwin - Fratsloos
 
Terence Hersbach

Terence Hersbach

15/11/2007 10:51:00
Quote Anchor link
komt doordat je waarschijnlijk frontpage gebruikt. die zet er een hoop torep bij.
 
J V

J V

15/11/2007 10:53:00
Quote Anchor link
Als ik via firefox in de source kijke, zie ik die tekens dus wel, maar al kijk ik in het html bestand zelf, dan staan ze er weer niet.
Firefox ziet dus tekentjes die er niet instaan.\

Zelf denk ik ook dat het met de karakterset te maken heeft, maar hoe krijg ik dat dan weg?
(fckeditor is toch voor als je site met php is?, deze is namelijk alleen maar html)

FlugelV
 
Joren de Wit

Joren de Wit

15/11/2007 10:54:00
Quote Anchor link
Blanche schreef op 15.11.2007 09:58:
Wellicht een paar onzichtbare vreemde tekens in je source? Probeer de complete code, maar ook enkel de code te kopieren en te plakken in een nieuw bestand.

Dat wil nog wel eens werken...
 
Winkie

winkie

15/11/2007 10:54:00
Quote Anchor link
lawl

de sourcecode die je browser je laat zien is NIET gelijk aan de html-code die je erin stopt!

Edit: wat ik dus bedoel is dat je browser je alleen laat zien wat hij ervan maakt; niet precies wat jij in je HTML hebt staan. Net zoals dat je nooit de source van een php bestand kan lezen dmv de source. Snap je?
Gewijzigd op 01/01/1970 01:00:00 door winkie
 
J V

J V

15/11/2007 10:54:00
Quote Anchor link
Terence schreef op 15.11.2007 10:51:
komt doordat je waarschijnlijk frontpage gebruikt. die zet er een hoop torep bij.


Ikzelf heb de site niet gemaakt, er werd mij gevraagd om het een en ander bij te voegen. Op de plek waar ik werk heb ik alleen maar notepad en geen frontpage, ik weet dus niet of de site met frontpage gemaakt is. Ikzelf heb in ieder geval niet met frontpage gewerkt.
 
J V

J V

15/11/2007 10:56:00
Quote Anchor link
winkie schreef op 15.11.2007 10:54:
lawl

de sourcecode die je browser je laat zien is NIET gelijk aan de html-code die je erin stopt!


Juist ja, dus daarom snap ik er niets van. Kopieren vanuit de source in een nieuw bestand werkt niet.
Dit heb ik al meedere keren gedaan (wel die stomme code weggehaald natuurlijk)
 
Joren de Wit

Joren de Wit

15/11/2007 10:59:00
Quote Anchor link
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Description" name="Description" content="Engineering and manufacturing of marine systems, shell doors, elevators, liftkeel, cranes"/>
<meta http-equiv="Keywords" name="Keywords" content="Frans, Brandjes, Engineering, Uitgeest, Sarmar-Crane"/>
<title>Frans Brandjes Engineering</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css" media="all"/>
<link rel="shortcut icon" href="favicon.png" type="image/png"/>
</head>

<body>

<table align="center" border="0" cellpadding="0" cellspacing="10">
<body>

<tr>
<td colspan="2" align="left" valign="top"><img src="images/homepicture.jpg" alt="Header" border="0" height="288" width="700"></td>
</tr>
<tr>
<td valign="top" width="550"><h1>Welcome to Frans Brandjes Engineering B.V.</h1>
<em>Quality and Commitment in mechanical design</em>
  <p>Frans Brandjes Engineering B.V. is a leading mechanical design office specializing  in complex mechanical constructions. This involves special cranes, platforms, hatches, lifts and doors for the shipbuilding industry. In the civil engineering sector this involves automated bike storages, a cheese-packing machine, architectural stairs and a shredder for a carpet manufacturer. In addition to projects for our customers we develop products including a patented loading and unloading system for vans and an innovative disabled lift.</p>
  <p>Research on a closing mechanism for doors onboard ships has resulted in a patent in several countries.</p>
  <p>In all projects we aim to achieve the highest possible standards and an integral solution, where next to technology and cost reduction, design plays an important role. This results in designs that are simple, easy to use and efficient, in the final production as well as in the cooperation. This is one of the reasons that we use 3D-CAD for designing, calculating, simulating, visualizing  and digital delivery of all necessary data. You can therefore have the most up to date information at your disposal at any time.</p>

  <p>Besides quality, Frans Brandjes Engineering B.V. distinguishes itself through a high level of involvement with the projects. This applies at the first stages of the project, during the execution of the work as well as during the production. Our experienced members of staff are often approached to give advice even after completion of the project. Obviously we are happy to advice you about the best solutions throughout the project especially technical and financial.</p>
  <p>On our website you can see pictures of a number of interesting projects which we were entrusted to undertake. When you click on <a href="pictures.html">pictures</a> you will enter a page with a number of photographs. When you click on a photograph you will see more photographs about that particular subject. Using the arrows you can scroll through the different pictures. When you click on the "back to gallery" button you will be taken back to the pictures page where you can choose another subject.</p>
<table align="left" border="0" cellspacing="0">
<body><tr>
<td colspan="2">Frans Brandjes Engineering bv</td>
</tr>

<tr>

<td colspan="2">Lange Buurt 19</td>
</tr>
<tr>
<td colspan="2">1911 AS Uitgeest</td>
</tr>
<tr>
<td>mob.</td><td>+31 (0) 6 54264646</td>
</tr>
<tr>
<td>tel.</td><td>+31 (0) 251 311 241</td>

</tr>

<tr>
<td>fax</td><td>+31 (0) 251 316 639</td>
</tr>
<tr>
<td>e-mail</td><td><a href="mailto:[email protected]"><u>[email protected]</u></a></td>
</tr>
<tr>
<td>internet</td><td><a href="http://www.brandjes.com" target="_top"><u>www.brandjes.com</u></a></td>
</tr>

</body></table></td>

<td class="MenuBack" align="right" valign="top" width="155">
<img src="images/button-line.gif" border="0" height="133" width="155"><br>
    <a href="pictures.html"><img src="images/button-pictures.gif" alt="Pictures" border="0" height="25" width="155"></a><br>
    <a href="videos.html"><img src="images/button-videos.gif" alt="Videos" border="0" height="25" width="155"></a><br>
    <a href="vacatures.html"><img src="images/button-vacatures.gif" alt="Vacatures" border="0" height="25" width="155"></a><br>
    <a href="contact.html"><img src="images/button-contact.gif" alt="Contact" border="0" height="25" width="155"></a><br>
<img src="images/spacer.gif" border="0" height="10" width="1"><br>
<a href="index-nl.html"><img src="images/nl.gif" alt="Dutch Website" border="0" height="37" width="155"></a></td>
</tr>
</body>
</table>

</body>
</html>

Als ik deze code (kopie van je broncode) in een nieuw bestand plak, zie ik die tekens niet staan...
 
Elwin - Fratsloos

Elwin - Fratsloos

15/11/2007 11:01:00
Quote Anchor link
Jordy schreef op 15.11.2007 10:53:
Zelf denk ik ook dat het met de karakterset te maken heeft, maar hoe krijg ik dat dan weg?
(fckeditor is toch voor als je site met php is?, deze is namelijk alleen maar html)
Het gaat ook niet om PHP of FCK, het gaat om de server en het bestand. De server zegt karakterset X en het bestand is in Y.

Wat in een enkele geval wel eens wilt helpen:
- Andere editor
- Bestand opnieuw maken (kopie en pasta)
- Opslaan

Maar dat hielp bijvoorbeeld bij FCK ook alleen maar bij bepaalde bestanden. Niet bij allemaal.

Er zijn echter editorss (op de CLI op linux bijvoorbeeld) die die tekens wel zien staan en ze weg kunnen halen. Vraag me alleen niet welke.
 
J V

J V

15/11/2007 11:12:00
Quote Anchor link
Blanche schreef op 15.11.2007 10:59:
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
knip

Als ik deze code (kopie van je broncode) in een nieuw bestand plak, zie ik die tekens niet staan...


Dat zei ik al, offline doen de html bestanden het gewoon goed, maar online niet (in firefox dus)

@Elwin

Ik heb dit gemaakt met notepad, ik moet dus iets anders zoeken dan notepad? Het bestand opnieuw maken heb ik al gedaan, maar moet dit dan ook een andere naam hebben of gewoon de oude naam?
Plus dat het raar is dat de index.html niet werkt, maar de index-nl.html wel. Ze hebben allebei exact dezelfde karakterset.
Dit bedoelen jullie daar toch mee?:

Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
 
Terence Hersbach

Terence Hersbach

15/11/2007 11:16:00
Quote Anchor link
komt doordat je waarschijnlijk frontpage gebruikt. die zet er een hoop torep bij.
 
Joren de Wit

Joren de Wit

15/11/2007 11:19:00
Quote Anchor link
Quote:
Dat zei ik al, offline doen de html bestanden het gewoon goed, maar online niet (in firefox dus)
Dat is natuurlijk onzin. Online of offline, dat heeft er niets mee te maken.

Zie hier het bewijs. Als service kun je het bestand hier downloaden.

ps. Als je bovenstaand bestand download en gebruikt, wil je waarschijnlijk wel het absolute pad naar oa. de stylesheet en de header image weer veranderen in een relatief pad.

pps. De oplossing is waarschijnlijk gewoon een goede editor gebruiken. Dreamweaver en Eclipse werk ik zelf mee, maar met Notepad++ moet je op locatie ook prima uit de voeten kunnen.
Gewijzigd op 01/01/1970 01:00:00 door Joren de Wit
 
Elwin - Fratsloos

Elwin - Fratsloos

15/11/2007 11:21:00
Quote Anchor link
@Terence
Doe niet zo bijdehand door je reactie twee keer te plaatsen. TS heeft al gezegd dat er met Notepad gewerkt wordt.
 
- -

- -

15/11/2007 11:21:00
Quote Anchor link
Jij hebt in je metatags staan dat het UTF8 is, maar als ik met een ttoltje in de headers kijk die je server mij stuurt, staat er ISO-8859-1.

Probeer eens in je metatags de ISO waarde te gebruiken, zo dus: (ISO-8859-1).
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

Dan zou het opgelost moeten zijn. Het verklaart ok waarom het lokaal niet zo is: je lokale server (je Windows) stuur niet een header mee met ISO-8859-1 als karakterset.
Edit:
@Blanche: Bij jou werkt het wel omdat jou server geen karakterset meestuurt. Op de TS server werkt het dus nog steeds niet, maar met bovenstaande methode hoogstwaarschijnlijk wel.
Gewijzigd op 01/01/1970 01:00:00 door - -
 
J V

J V

15/11/2007 11:32:00
Quote Anchor link
@ Jonathan, dat heb ik gedaan, maar het probleem blijft nog steeds zo. Plus dat als het daaraan zou liggen, ik het op elke pagina zou hebben toch? \

@ Blanche, ik ga nu even jou bestand gebruiken. Ik zie dat jij het php genoemd heb? Is dat met een speciale reden of dat niet?
Notepad++ kan ik mee uit de voeten, Dreamweaver heb ik thuis, maar op me werk heb ik niets anders dan het standaard notepad op windows, waar niets extra's bij zit.
 
Joren de Wit

Joren de Wit

15/11/2007 11:34:00
Quote Anchor link
Oh nee hoor, geen speciale reden die .php extensie. Meer gewoonte...
 
J V

J V

15/11/2007 11:43:00
Quote Anchor link
Blanche schreef op 15.11.2007 11:34:
Oh nee hoor, geen speciale reden die .php extensie. Meer gewoonte...


Oh oke, nou ik heb het voor elkaar :D. Je had gelijk het lag dus toch aan de editor. Volgende keer gebruik ik dreamweaver maar (doe ik het thuis wel). Ik ga in ieder geval niet meer met die standaard notepad werken.

Bedankt allemaal voor jullie hulp en snelle reacties.

Groeten FlugelV
 



Overzicht Reageren

 
 

Om de gebruiksvriendelijkheid van onze website en diensten te optimaliseren maken wij gebruik van cookies. Deze cookies gebruiken wij voor functionaliteiten, analytische gegevens en marketing doeleinden. U vindt meer informatie in onze privacy statement.